1
If you are just testing for development purposes, I’d recommend setting your testing database to use sqlite3, which will leverage an in-memory database by default and should speed up tests.
I usually put this into local_settings which only gets executed for my dev environment…
if 'test' in sys.argv:
DATABASES['default'] = {'ENGINE': 'django.db.backends.sqlite3'}
If you are planning to push a release to a production environment, you’ll want to test against the engine which is serving your production database (MySQL, PostgreSQL, etc).
Source:stackexchange.com