On Mar 31, 2011, at 1:18 PM, jay K. wrote:
>
> I think i found the source of all problems
>
> I am not a python expert, so I was wondering if anybody can tell me what this
> code means
>
> // beginning of code
>
> from django.db import models
>
>
> class TranslationForeignKey(models.Foreig
I think i found the source of all problems
I am not a python expert, so I was wondering if anybody can tell me what
this code means
// beginning of code
*from django.db import models
class TranslationForeignKey(models.ForeignKey):
"""
"""
pass
*
// end of code
This piece of code h
Hello,
I've been using south to migrate a database
I followed all the commands to make the migrations in south (--initial and
--auto), all
of this, after making my desired changes in modes.py
but when I refresh my page I still get a "Error 505" messages
I've checked spelling mistakes etc but fo
that's weird, because I keep getting the same error
the field that I'm using is not custom (models.TextField)
it may be located somewhere else
On Thu, Mar 31, 2011 at 4:47 PM, Shawn Milochik wrote:
> You don't need that inspection feature for fields known to Django. Just
> custom types.
>
You don't need that inspection feature for fields known to Django. Just
custom types.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email
All I did to change my models.py, was to add the following line
*map_text = models.TextField( 'Map text', blank = True, null = False,
help_text = 'text on the subpage "map"')*
As you can see, I intend to add a new text area in my models.py
At the bottom of the page, I type this code
*from south
Are you typing your app name in camelCase? Try all-lower.
Are you using any model field types other than the ones that come with
Django?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegro
hello,
I've downloaded and installed south successfully to manage changes
with my models.py file
I type the following command
*python manage.py schemamigration myApp --auto*
then, get the following message
*You cannot use --auto on an app with no migrations. Try --initial.*
So I do as stated,
8 matches
Mail list logo