Custom Search

Thursday, June 20, 2013

Django How to create json fixture from database table

1) Help
#python manage.py dumpdata --help

2) Create json fixture from table Template
#python manage.py dumpdata dbtemplates.Template  > ~/Desktop/template.json

1 comment:

  1. http://stackoverflow.com/questions/4002322/migrating-django-fixtures

    ReplyDelete