mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 18:38:07 +00:00
Merge pull request #361 from knowsis/default_from_email
Set DEFAULT_FROM_EMAIL
This commit is contained in:
commit
5f5155d5db
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user