0👍
Firstly add some test data in your models, then run python manage.py dumpdata myapp > somefile.json
Then voila you have your fixture template.
Source:stackexchange.com
0👍
Firstly add some test data in your models, then run python manage.py dumpdata myapp > somefile.json
Then voila you have your fixture template.