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
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
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
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
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
5 matches
Mail list logo