17👍
✅
A 3rd party django app, django-test-utils contains a makefixture command implementation which is basically a smarter dumpdata. You can specify exact model names with ID ranges to export (and it will follow related objects)
Example: manage.py makefixture --format=xml --indent=4 proj.appname.modelname[1:101] > test.xml
- Django. Error message for login form
- How to combine django plus gevent the basics?
- Creating a .gitignore file for a Django website
- PyCharm: How to switch to regular HTML comments (Ctrl+Slash) in Django
- Send email to bcc and cc in django
Source:stackexchange.com