Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (28 sloc) 1.142 kb
c8fa110 @jezdez Fixed #6298 - Added sample settings file to run the Django test suite (S...
jezdez authored
1 # This is an example test settings file for use with the Django test suite.
2 #
3 # The 'sqlite3' backend requires only the ENGINE setting (an in-
4 # memory database will be used). All other backends will require a
5 # NAME and potentially authentication information. See the
6 # following section in the docs for more information:
7 #
46c1d15 @jphalip Fixed a url to the contributing guide in a code comment.
jphalip authored
8 # https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/
c8fa110 @jezdez Fixed #6298 - Added sample settings file to run the Django test suite (S...
jezdez authored
9 #
10 # The different databases that Django supports behave differently in certain
11 # situations, so it is recommended to run the test suite against as many
12 # database backends as possible. You may want to create a separate settings
13 # file for each of the backends you test against.
14
15 DATABASES = {
16 'default': {
17 'ENGINE': 'django.db.backends.sqlite3'
18 },
19 'other': {
20 'ENGINE': 'django.db.backends.sqlite3',
21 }
22 }
df1e505 @jezdez Added a default SECRET_KEY setting to the default test sesttings (refs #...
jezdez authored
23
24 SECRET_KEY = "django_tests_secret_key"
0819957 @akaariai Use faster password hasher in sqlite tests
akaariai authored
25 # To speed up tests under SQLite we use the MD5 hasher as the default one.
26 # This should not be needed under other databases, as the relative speedup
27 # is only marginal there.
28 PASSWORD_HASHERS = (
29 'django.contrib.auth.hashers.MD5PasswordHasher',
30 )
Something went wrong with that request. Please try again.