Re: Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Ramiro Morales
On Thu, Dec 25, 2008 at 8:21 PM, Fluoborate wrote: > > It never modified tables? But in the tutorial, you "accidentally" omit > the __unicode__ method and then you add it in later, and that works. > Was the __unicode__ method simply an attribute of the Python and not > the

Re: Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Fluoborate
It never modified tables? But in the tutorial, you "accidentally" omit the __unicode__ method and then you add it in later, and that works. Was the __unicode__ method simply an attribute of the Python and not the database, and that's why it works? Also, shouldn't sqlclear appname drop the

Re: Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Chris Czub
syncdb has never been able to modify existing models. In order to get some functionality like that, look into django-evolution: http://code.google.com/p/django-evolution/ -Chris On Thu, Dec 25, 2008 at 1:11 AM, Fluoborate wrote: > > Running the command: > python manage.py

Re: Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Kenneth Gonsalves
On Thursday 25 Dec 2008 11:41:38 am Fluoborate wrote: > Used to add tables and modify tables if necessary. I don't remember if > it ever dropped tables. It was great, I would modify models.py and > syncdb and it would just work afaik it never modified tables and never will -- regards KG

Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Fluoborate
Running the command: python manage.py syncdb Used to add tables and modify tables if necessary. I don't remember if it ever dropped tables. It was great, I would modify models.py and syncdb and it would just work. Then something changed, and I don't know why. Now, syncdb never modifies or drops