Skip to content

Commit

Permalink
Merge pull request arachnys#361 from knowsis/default_from_email
Browse files Browse the repository at this point in the history
Set DEFAULT_FROM_EMAIL
  • Loading branch information
dbuxton authored Jul 15, 2016
2 parents 718120c + 1c28b15 commit 5f5155d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cabot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

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:
Expand Down

0 comments on commit 5f5155d

Please sign in to comment.