On 3/7/07, akonsu <[EMAIL PROTECTED]> wrote: > > hello, > > is there a way to automate creation of administrator role for > django.contrib.admin application? > > if i run "./manage flush --noinput" it does not create one.
Create an initial_data fixture that contains the definition for an admin user. The initial_data fixtures are automatically installed on syncdb and on flush. If you want a sample of what that fixture should look like, try dumping the contents of the auth model. (./manage.py dumpdata auth) Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---