Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django dumpdata django.contrib.auth

Tags:

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.

like image 242
imkost Avatar asked Apr 21 '13 00:04

imkost


1 Answers

Solution was much more easy than a thought. Just run

python manage.py dumpdata auth 
like image 106
singer Avatar answered Sep 19 '22 11:09

singer