2010-02-23 21:45:50 +01:00
|
|
|
# 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:
|
|
|
|
#
|
2011-12-14 15:49:00 +01:00
|
|
|
# https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/
|
2010-02-23 21:45:50 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
"default": {
|
|
|
|
"ENGINE": "django.db.backends.sqlite3",
|
2022-02-03 20:24:19 +01:00
|
|
|
},
|
|
|
|
"other": {
|
2015-02-06 12:58:02 +01:00
|
|
|
"ENGINE": "django.db.backends.sqlite3",
|
2010-02-23 21:45:50 +01:00
|
|
|
},
|
|
|
|
}
|
2012-03-02 01:05:13 +01:00
|
|
|
|
|
|
|
SECRET_KEY = "django_tests_secret_key"
|
2013-02-26 10:00:14 +01:00
|
|
|
|
|
|
|
# Use a fast hasher to speed up tests.
|
2015-01-21 17:55:57 +01:00
|
|
|
PASSWORD_HASHERS = [
|
2012-04-30 20:40:02 +02:00
|
|
|
"django.contrib.auth.hashers.MD5PasswordHasher",
|
2015-01-21 17:55:57 +01:00
|
|
|
]
|
2020-07-12 14:59:57 +02:00
|
|
|
|
|
|
|
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
2021-05-14 15:58:45 +02:00
|
|
|
|
|
|
|
USE_TZ = False
|