On Fri, Jul 4, 2008 at 7:37 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I have a new user question. I am working on a sight using the .96 > version of django. I created a model with fields and ran "python > manage.py syncdb", which worked fine. After doing some work I > realized I needed to add a new field to one of the models. How do I > tell django to re-sync the db? I tried "python manage.py syncdb", but > that did do anything. Thanks. > Syncdb won't alter existing tables. You can use manage.py reset to completely reset the application (losing any data in it), or manually modify the table using your database's native utility for this (whether/how you can do this varies by database), or search this list for schema migration or evolution -- there are at least a couple of external projects aimed at providing this function. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---