>Is syncdb supposed to fully sync the database to the model
>definitions?

syncdb does not do that. I also often got confused about syncdb, but
now I never forget that syncdb currently does not help propagate
_modifications_ to models to your database. If you add a new model or
delete an existing model, it will take care of that. But if you make
changes to a model, it does not handle that.

Apart from django-evolution, also take a look at http://south.aeracode.org/

Regards,
CM

On Jul 16, 8:19 am, Dj Gilcrease <digitalx...@gmail.com> wrote:
> On Wed, Jul 15, 2009 at 8:33 PM, Ben<benlbrouss...@gmail.com> wrote:
> > Is syncdb supposed to fully sync the database to the model
> > definitions? If so I would call this a bug.
>
> You would need to delete the tables and run syncdb again to get it to
> add any model level changes
>
> OR
>
> look uphttp://code.google.com/p/django-evolution/which will evolve
> you model changes into your existing DB
--~--~---------~--~----~------------~-------~--~----~
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