Django dumpdata/loaddata

/ Published in: Django
Save to your folder(s)

Commands to dump and load a database in django

Copy this code and paste it in your HTML
  1. python dumpdata > my_db.json
  3. python loaddata my_db.json

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.