List Info

Thread: setting up a db in magic-removal branch




setting up a db in magic-removal branch
user name
2006-03-13 13:38:16
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.

- jmj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

setting up a db in magic-removal branch
user name
2006-03-13 15:20:32
On 3/13/06, Jeremy Jones <zanesdadbellsouth.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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

setting up a db in magic-removal branch
user name
2006-03-13 22:50:01
On Monday 13 March 2006 15:20, Adrian Holovaty wrote:

> (I'll insert the standard disclaimer here that
magic-removal is not
> ready for production use and is only for the faint of
heart.)

Only for the faint of heart?  Or perhaps you mean that
*after* you've 
tried it you'll be faint of heart?  It's not *that* bad.


Luke

-- 
"Where a person wishes to attract, they should always
be ignorant." 
(Jane Austen)

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

setting up a db in magic-removal branch
user name
2006-03-13 23:27:51
On 3/13/06, Luke Plant <L.Plant.98cantab.net> wrote:
> On Monday 13 March 2006 15:20, Adrian Holovaty wrote:
>
> > (I'll insert the standard disclaimer here that
magic-removal is not
> > ready for production use and is only for the faint
of heart.)
>
> Only for the faint of heart?  Or perhaps you mean that
*after* you've
> tried it you'll be faint of heart?  It's not *that*
bad. 

Hehe, you're right -- it's *not* for the faint of heart.
Thanks for the catch.

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-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )