diff --git a/cabot/settings.py b/cabot/settings.py index 412e607..abe1c53 100644 --- a/cabot/settings.py +++ b/cabot/settings.py @@ -16,6 +16,9 @@ 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"])} if not DEBUG: