On 3/13/06, Jeremy Jones <zanesdad bellsouth.net> wrote:
> In 0.9.1, I would run python manage.py init; python
manage.py install
> {{insert desired model here}}. In magic-removal, there
appears to no
> longer be an init argument to manage.py. There is also
a new syncdb
> argument. Is the proper way to setup your db in magic
removal to call
> manage.py with syncdb? This appears to do what I was
doing before,
> only with fewer steps.
Yes. The new "syncdb" command looks at the
INSTALLED_APPS setting and
creates any tables that need to be created (that aren't
already in the
database).
(I'll insert the standard disclaimer here that
magic-removal is not
ready for production use and is only for the faint of
heart.)
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|