Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django fixtures. To dump data

python manage.py dumpdata app.model_name --indent 4 > fixtures/model_name.json
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #To #dump #data
ADD COMMENT
Topic
Name
2+6 =