From 0591a186d8e9a49183decf08496f0c9b6d7f5869 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 24 Feb 2019 19:28:09 +0100 Subject: [PATCH] Add EMAIL settings --- dal/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dal/settings.py b/dal/settings.py index b1210b1..9779679 100644 --- a/dal/settings.py +++ b/dal/settings.py @@ -50,6 +50,10 @@ DEBUG = config('DEBUG', default=False, cast=bool) EMAIL_FROM_ADDRESS = config('EMAIL_FROM_ADDRESS') +EMAIL_HOST = config("EMAIL_HOST", default="localhost") +EMAIL_PORT = config("EMAIL_PORT", default=25, cast=int) +EMAIL_USE_TLS = config("EMAIL_USE_TLS", default=True, cast=bool) + ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv()) INSTALLED_APPS = [