I created an app in a Django project. For testing purpose, I would like to create fixture files. I found that I can dump my database in order to create fixture automatically if it already has data. I want to use a fixture, so I used the command python ./manage.py dumpdata app
, but it returned a list of a ton of \x02
. But if I use python ./manage.py auth
it runs perfectly. Any idea why my dumpdata
shows only \x02
.
Thanks in advance.
I attached screenshot as following link:
http://www.cs.ait.ac.th/~fon/wp-content/uploads/2011/01/Screenshot.png
python manage.py dumpdata app | head
show? – Ripp