Merge pull request #361 from knowsis/default_from_email

Set DEFAULT_FROM_EMAIL
This commit is contained in:
David Buxton 2016-07-15 16:57:25 +01:00 committed by GitHub
commit 5f5155d5db

View File

@ -16,6 +16,9 @@ ADMINS = (
MANAGERS = ADMINS MANAGERS = ADMINS
if os.environ.get('CABOT_FROM_EMAIL'):
DEFAULT_FROM_EMAIL = os.environ['CABOT_FROM_EMAIL']
DATABASES = {'default': dj_database_url.parse(os.environ["DATABASE_URL"])} DATABASES = {'default': dj_database_url.parse(os.environ["DATABASE_URL"])}
if not DEBUG: if not DEBUG: