With syncdb your model/table will be not updated. To upate your model
and database tables you should use:

# python manage.py reset yourapp

But it will ERASE ALL your data. It could be a problem, but with a bit
of old SQL it can be easily done.You could, for example, export all
data from database and add the new field and a default value into the
SQL dump with an automated script and then reset and insert the data
again into the DB.

About documentation, i know a read about it somewhere, but sorry, i
don't remember where. I think i've also hear about this topic, and that
something was discussig about the best automated way, but i don't know
more about it.

I hope it help 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to