Ok thank you found the answer. "Django will look for any new models
that
have been defined, and add a database table to represent those new
models." So how about the django evolution. Is it fine to use it to
track changes in django models and make database migrations.

It is very sad that django donot track models. I migrated myself from
Rails. In rails there is migration where we can make changes to models
and sync with database. hope django will find a solution.



On Mar 3, 8:58 pm, stranger <[EMAIL PROTECTED]> wrote:
> Hi James,
>
>          I have been following you blog for a very long time. Good
> posts. Awaiting you django projects book toooo... After searching this
> group archive i didnot find much regarding my question? I think django
> should automatically make the changes in the model. I have added a new
> model photo and the syncdb only synced the photo model but not the
> changes in the Post model. Can you suggest me if there is a way I can
> sync it or do I have to do manual SQl query.
>
> On Mar 2, 11:15 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
> > On Sun, Mar 2, 2008 at 11:45 PM, stranger <[EMAIL PROTECTED]> wrote:
> > >   Is there a way in django where we can migrate the changes in model,
> > >  orrevertbackdatabasechanges to the original(fresh).
>
> > You probably want to search the archive of this list, which is
> > publicly available and powered by some of the finest search technology
> > on the planet.
>
> > --
> > "Bureaucrat Conrad, you are technically correct -- the best kind of 
> > correct."
--~--~---------~--~----~------------~-------~--~----~
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