Added EMAIL_BACKEND to env settings to be able to use console backend in local dev.

This commit is contained in:
Jason Kelly 2021-05-23 14:09:13 +08:00
parent e138a585d1
commit c9617c4bd3

View file

@ -21,6 +21,7 @@ CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
# email
EMAIL_BACKEND = env("EMAIL_BACKEND", "django.core.mail.backends.smtp.EmailBackend")
EMAIL_HOST = env("EMAIL_HOST")
EMAIL_PORT = env("EMAIL_PORT", 587)
EMAIL_HOST_USER = env("EMAIL_HOST_USER")