Re: store superuser permamently

2011-02-04 Thread Jaroslav Dobrek
On 3 Feb., 15:19, Ivo Brodien 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 s

Re: store superuser permamently

2011-02-03 Thread Ivo Brodien
> 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 mana

store superuser permamently

2011-02-03 Thread Jaroslav Dobrek
Hello, I often use manage.py dumpdata --indent 2 > initial_data.json and then manipulate initial_data.json. When I remove my database file and run manage.py syncdb almost all data from inital_data.json are installed. (Many errors only go away when the database file is removed.) But manage.py as