Add DEFAULT_FROM_EMAIL.
This commit is contained in:
parent
f585299388
commit
141019ed75
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue