Django Commands: django-admin.py dumpdata [your_app.your_model]

By: Dusty Arlia
Published on Sunday, April 13, 2014, 02:38 PM
Last Updated on Tuesday, July 07, 2015 at 10:06 PM
Total Updates: 2

The django-admin.py dumpdata [your_app.your_model] command outputs all the data in the database associated with the named Django application(s) to standard output. If you don't specify an application, all your applications will be dumped. You can use the output of dumpdata as input for loaddata.

Comments:

Ad:

Ad: