Posted By

erichlotto on 07/03/13


Tagged

django dumpdata loaddata


Versions (?)

Django dumpdata/loaddata


 / Published in: Django
 

Commands to dump and load a database in django

  1. python manage.py dumpdata > my_db.json
  2.  
  3. python manage.py loaddata my_db.json

Report this snippet  

You need to login to post a comment.