On Wed, Oct 21, 2009 at 1:20 PM, Thomas B. Higgins <thomasbhigg...@gmail.com
> wrote:

>
> Using the SVN trunk version of Django, I have observed that if a model
> IntegerField or FloatField is changed by adding "null=True" syncdb
> does not update the Not NULL property of the column using PostgeSQL
> 8.4. Is this correct behavior, or a bug?


It's a documented restriction:

http://docs.djangoproject.com/en/dev/ref/django-admin/#syncdb

Integrating some schema evolution into the Django base is a long-term goal,
but it's not close yet.  In the meantime there are multiple external
projects that provide function like this.  Search on Django schema migration
or evolution and you should find pointers to them.

Karen

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

Reply via email to