Add DEFAULT_FROM_EMAIL to settings

This commit is contained in:
Livvy Mackintosh 2017-10-08 23:50:53 +01:00
parent 7adc91b8b4
commit 00cc417f21

View File

@ -99,7 +99,7 @@ WSGI_APPLICATION = 'ojusomap.wsgi.application'
# https://docs.djangoproject.com/en/1.11/topics/email/
ADMINS = [('Livvy','livvy@base.nu')]
DEFAULT_FROM_EMAIL = os.getenv('DEFAULT_FROM_EMAIL', 'webmaster@localhost')
EMAIL_HOST = os.getenv('EMAIL_HOST', 'localhost')
EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD')
EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER')