Assuming that none of the old data violates your unique_together rule it will 
work.

However, your database will not be configured correctly, and that could lead to 
problems. 
After your initial syncdb which created that table, Django will not make any 
changes to the
database.

The best thing to do is undo any changes you made after your first syncdb, 
install South[1],
then make your changes to the models and create a South migration.

If you find that you have data which violates this rule, you'll need to make 
one South migration 
for the data first, and a second for the changes to the schema.

Shawn



[1] http://south.aeracode.org/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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