2đź‘Ť
pycheesecake.org provides a good source of testing tools for python.
You might also want to checkout django-autofixture, a nice tool for inserting randomly generated data into the database, and django-mockups, which is a fork from django-autofixture.
Here is a sample usage of django-autofixture:
django-admin.py loadtestdata [options] app.Model:# [app.Model:# ...]
You just supply the app name, model and the number of objects that you want to create.
4đź‘Ť
Check out django-dilla. It helps you to spam your database with random data
There’s no real good documentation, but you’ll need to install it and add it to your INSTALLED_APPS
, then run python manage.py run_dilla
from the command line.
To view the options run python manage.py run_dilla --help
which let you specify counts and the apps to “spam”. Check out the command source for implementation details.
- [Django]-Finding the cause of of 403 forbidden error in django admin
- [Django]-How to get something to appear on every page in Django?
- [Django]-Django on apache – admin page links are VISIBLE but not CLICKABLE
- [Django]-Is there a way to display the color of a (hex color) field in the Django Admin site?