Set EMAIL_FROM_ADDRESS from env

This commit is contained in:
PCoder 2019-02-24 18:41:07 +01:00
commit 9ce45e6f56
2 changed files with 3 additions and 1 deletions

View file

@ -48,6 +48,8 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DEBUG = config('DEBUG', default=False, cast=bool)
EMAIL_FROM_ADDRESS = config('EMAIL_FROM_ADDRESS')
ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv())
INSTALLED_APPS = [