On Friday, January 21, 2011 09:12:11 am Jason wrote: > I manually import the data using - > loaddata (I assumed this would have been done automatically during > syncdb but that's OK).
syncdb[1] does not work this way. It's meant to do one thing and one thing only. Take new models and convert that to sql and create the tables in the db. It syncs the db with models structure. Syncdb does not change existing tables to update changes with models nor does it or should it load the test data. To change models that already exist in db, either drop the table and rerun syncdb, do the update manually or use django-south. Mike [1] http://docs.djangoproject.com/en/dev/ref/django-admin/#syncdb -- Expect a letter from a friend who will ask a favor of you. -- 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.