From baf096fcf5f7640db37151317d9cc76b5615d48e Mon Sep 17 00:00:00 2001 From: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> Date: Wed, 4 May 2022 20:15:25 +0100 Subject: [PATCH] Add DEFAULT_FROM_EMAIL setting handling --- api/catalog/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/catalog/settings.py b/api/catalog/settings.py index 4778420c7..b2d29b5dc 100644 --- a/api/catalog/settings.py +++ b/api/catalog/settings.py @@ -298,6 +298,7 @@ EMAIL_HOST_PASSWORD = config("EMAIL_HOST_PASSWORD", default="") EMAIL_SUBJECT_PREFIX = "[noreply]" EMAIL_USE_TLS = True +DEFAULT_FROM_EMAIL = config("DEFAULT_FROM_EMAIL", default="") if EMAIL_HOST_USER or EMAIL_HOST_PASSWORD: EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"