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