2021-06-22 03:47:57 +00:00
|
|
|
from .base import *
|
|
|
|
|
2022-02-10 00:00:30 +00:00
|
|
|
SECRET_KEY = "TESTS"
|
2021-06-22 03:47:57 +00:00
|
|
|
|
|
|
|
# Password hasher configuration
|
2022-02-21 23:39:38 +00:00
|
|
|
# See https://docs.djangoproject.com/en/4.0/ref/settings/#password-hashers
|
|
|
|
# See https://docs.djangoproject.com/en/4.0/topics/testing/overview/#password-hashing
|
2021-06-22 03:47:57 +00:00
|
|
|
|
|
|
|
PASSWORD_HASHERS = [
|
2022-02-10 00:00:30 +00:00
|
|
|
"django.contrib.auth.hashers.MD5PasswordHasher",
|
2021-06-22 03:47:57 +00:00
|
|
|
]
|
|
|
|
|
2022-07-30 21:22:34 +00:00
|
|
|
# Email
|
|
|
|
# https://docs.djangoproject.com/en/4.0/topics/email/
|
|
|
|
|
|
|
|
EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"
|
|
|
|
|
2021-06-22 03:47:57 +00:00
|
|
|
# Axes configuration
|
|
|
|
# See https://django-axes.readthedocs.io/en/latest/4_configuration.html
|
|
|
|
|
|
|
|
AXES_ENABLED = False
|
2023-05-07 22:10:50 +00:00
|
|
|
|
|
|
|
# DBSettings configuration
|
|
|
|
# See https://github.com/zlorf/django-dbsettings#a-note-about-caching
|
|
|
|
|
|
|
|
DBSETTINGS_USE_CACHE = False
|
2023-07-04 22:17:00 +00:00
|
|
|
|
|
|
|
# We want to test the home assistant middleware
|
|
|
|
|
|
|
|
ENABLE_HOME_ASSISTANT_SUPPORT = True
|