this is an example test settings file for use with the django test suite the sqlite3 backend requires only the engine setting an in memory database will be used all other backends will require a name and potentially authentication information see the following section in the docs for more information https docs djangoproject comendevinternalscontributingwritingcodeunittests the different databases that django supports behave differently in certain situations so it is recommended to run the test suite against as many database backends as possible you may want to create a separate settings file for each of the backends you test against use a fast hasher to speed up tests this is an example test settings file for use with the django test suite the sqlite3 backend requires only the engine setting an in memory database will be used all other backends will require a name and potentially authentication information see the following section in the docs for more information https docs djangoproject com en dev internals contributing writing code unit tests the different databases that django supports behave differently in certain situations so it is recommended to run the test suite against as many database backends as possible you may want to create a separate settings file for each of the backends you test against use a fast hasher to speed up tests
DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.sqlite3",
    },
    "other": {
        "ENGINE": "django.db.backends.sqlite3",
    },
}

SECRET_KEY = "django_tests_secret_key"


PASSWORD_HASHERS = [
    "django.contrib.auth.hashers.MD5PasswordHasher",
]

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

USE_TZ = False