As someone else said to another person today - use South
http://south.aeracode.org/docs/about.html

It will read your updated models and apply the changes to the database. It is brilliant.
Mike


On 27/07/2011 6:20am, Gmail - neonmark wrote:
On 7/26/2011 11:50 PM, vaibhav agarwal wrote:
Hey,

I am coding in django for the first time and I had this doubt about
database.At the start of coding , you are not sure of all the fields
in the models of your site. So you end up making a few fields and
proceed . But if at some other time , you might realise that you have
to add a new field . In such a case syncdb does not change the table
( maybe deleting or adding fields ) . What  should I be doing in such
a case ?
--
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.

Reply via email to