Add EMAIL_TIMEOUT (#2153)

Add EMAIL_TIMEOUT
This commit is contained in:
Bruno Alla 2019-07-09 12:08:15 +01:00 committed by GitHub
commit 6ca6d50ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,6 +216,8 @@ X_FRAME_OPTIONS = "DENY"
EMAIL_BACKEND = env(
"DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.smtp.EmailBackend"
)
# https://docs.djangoproject.com/en/2.2/ref/settings/#email-timeout
EMAIL_TIMEOUT = 5
# ADMIN
# ------------------------------------------------------------------------------