On 3 Feb., 15:19, Ivo Brodien <i...@brodien.de> wrote: > > What do I have to do to avoid having to define a superuser each time? > > you can dump the data of the auth app and than load it again. > > s.th. like this: > > ./manage.py dumpdata --indent=4 auth > fixtures/auth.json > ./manage.py dumpdata --indent=4 sessions > fixtures/sessions.json > > you can do a manage.py syncdb —noinput so you will not be asked, if you want > a superuser or not. > > If you dump the sessions too you will stay logged in.
Thank you. That is exactly what I wanted. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.