Re: Programatic install

2005-12-15 Thread David Pratt
Hi Adrian. Super :-) This did the trick. Many thanks! Regards David Adrian Holovaty wrote: On 12/15/05, David Pratt <[EMAIL PROTECTED]> wrote: Can someone fill in the blank. Many thanks. [...] from django.core import management # Setup up an app management.init() management.install(my_app

Re: Programatic install

2005-12-15 Thread Adrian Holovaty
On 12/15/05, David Pratt <[EMAIL PROTECTED]> wrote: > Can someone fill in the blank. Many thanks. > [...] > from django.core import management > > # Setup up an app > management.init() > management.install(my_app) > > # Admin install ??? Hi David, You want this: from django.core import meta

Programatic install

2005-12-15 Thread David Pratt
Hi. Have a quick question. I have been programatically setting up my databases with default data etc, and install by importing management. Trouble is I cannot seem to find method equivalent to: django-admin.py install admin so I can do this at the same time. Can someone fill in the blank. Ma