2017-10-12 20:36:44 +03:00
|
|
|
"""
|
2018-03-06 14:28:25 +03:00
|
|
|
With these settings, tests run faster.
|
2017-10-12 20:36:44 +03:00
|
|
|
"""
|
2016-06-23 21:41:44 +03:00
|
|
|
|
2017-01-17 06:38:52 +03:00
|
|
|
from .base import * # noqa
|
2018-03-06 19:56:27 +03:00
|
|
|
from .base import env
|
2016-06-23 21:41:44 +03:00
|
|
|
|
2018-03-06 14:28:25 +03:00
|
|
|
# GENERAL
|
2016-06-23 21:41:44 +03:00
|
|
|
# ------------------------------------------------------------------------------
|
2018-03-06 14:28:25 +03:00
|
|
|
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
|
2019-03-18 20:49:43 +03:00
|
|
|
SECRET_KEY = env(
|
|
|
|
"DJANGO_SECRET_KEY",
|
|
|
|
default="!!!SET DJANGO_SECRET_KEY!!!",
|
|
|
|
)
|
2018-03-06 14:28:25 +03:00
|
|
|
# https://docs.djangoproject.com/en/dev/ref/settings/#test-runner
|
2018-04-09 01:03:29 +03:00
|
|
|
TEST_RUNNER = "django.test.runner.DiscoverRunner"
|
2016-06-23 21:41:44 +03:00
|
|
|
|
2018-03-06 14:28:25 +03:00
|
|
|
# PASSWORDS
|
2016-06-23 21:41:44 +03:00
|
|
|
# ------------------------------------------------------------------------------
|
2018-03-06 14:28:25 +03:00
|
|
|
# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
|
2018-04-09 01:03:29 +03:00
|
|
|
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
2016-06-23 21:41:44 +03:00
|
|
|
|
2018-03-06 14:28:25 +03:00
|
|
|
# EMAIL
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
2018-04-09 01:03:29 +03:00
|
|
|
EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
|
2018-03-06 14:28:25 +03:00
|
|
|
|
|
|
|
# Your stuff...
|
|
|
|
# ------------------------------------------------------------------------------
|