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
> 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
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
3 matches
Mail list logo