On Sat, May 7, 2011 at 6:05 PM, Dug_the_Math_Guy <dugthemath...@gmail.com>wrote:
> HI I'm new to Django and just getting some models going. I started > with a more complex model and got errors so I scaled back to a more > minimalist model to see if I could get that working. I flushed my > database to get rid of any old info and synched the DB to create the > new more minimal models. Syncing the database doesn't delete anything, ever. Probably the simplest way to deal with this is to rename (in the database) the tables that you have changed, then run syncdb to create your new tables, then copy the old data into the new tables and delete the old tables. If by "flushed" you mean you deleted the old tables (or the whole database), then something else is going on. Nick -- 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.