Thursday, March 31, 2011

Re: south for django


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.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^destinations\.map_text"])


The name of my application is "destinations" and the new field is called "map_text"

Unfortunately it stills gives me the same error message


On Thu, Mar 31, 2011 at 4:37 PM, Shawn Milochik <shawn@milochik.com> wrote:

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@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment