Add DEFAULT_FROM_EMAIL.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Víðir Valberg Guðmundsson 2021-03-03 18:06:36 +01:00
parent f585299388
commit 141019ed75

View file

@ -108,6 +108,7 @@ LOGIN_REDIRECT_URL = "/"
EMAIL_BACKEND = env.str( EMAIL_BACKEND = env.str(
"EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend" "EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend"
) )
DEFAULT_FROM_EMAIL = env.str("DEFAULT_FROM_EMAIL", default="")
# Parse email URLs, e.g. "smtp://" # Parse email URLs, e.g. "smtp://"
email = env.dj_email_url("EMAIL_URL", default="smtp://") email = env.dj_email_url("EMAIL_URL", default="smtp://")
EMAIL_HOST = email["EMAIL_HOST"] EMAIL_HOST = email["EMAIL_HOST"]