/ Published in: Django
Commands to dump and load a database in django
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
python manage.py dumpdata > my_db.json python manage.py loaddata my_db.json