I want dump data of django.contrib.auth
app.
I've tried:
>> python manage.py dumpdata django.contrib.auth > 'django.contrib.admin.json'
Error: Unknown application: django.contrib.auth
>> python manage.py dumpdata 'django.contrib.auth' > 'django.contrib.admin.json'
Error: Unknown application: django.contrib.auth
Nothing works. Need your help.
Solution was much more easy than a thought. Just run
python manage.py dumpdata auth
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.