mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-12-24 06:06:17 +03:00
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
|
"""
|
||
|
With these settings, tests run faster.
|
||
|
"""
|
||
|
|
||
|
from .base import * # noqa
|
||
|
from .base import env
|
||
|
|
||
|
# GENERAL
|
||
|
# ------------------------------------------------------------------------------
|
||
|
# https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
|
||
|
SECRET_KEY = env(
|
||
|
"DJANGO_SECRET_KEY",
|
||
|
default="GmGbBBIvI6mRTdqiOUAO5VZ4yiaQTuTJMtLQyZb3SX4oi8OGYUO66oj18aMGsY5w",
|
||
|
)
|
||
|
# https://docs.djangoproject.com/en/dev/ref/settings/#test-runner
|
||
|
TEST_RUNNER = "django.test.runner.DiscoverRunner"
|
||
|
|
||
|
# PASSWORDS
|
||
|
# ------------------------------------------------------------------------------
|
||
|
# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
|
||
|
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||
|
|
||
|
# EMAIL
|
||
|
# ------------------------------------------------------------------------------
|
||
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend
|
||
|
EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
|
||
|
|
||
|
# DEBUGING FOR TEMPLATES
|
||
|
# ------------------------------------------------------------------------------
|
||
|
TEMPLATES[0]["OPTIONS"]["debug"] = True # type: ignore # noqa F405
|
||
|
|
||
|
# Your stuff...
|
||
|
# ------------------------------------------------------------------------------
|