Set SERVER_EMAIL required for error notifications
This commit is contained in:
parent
f6841d5135
commit
6ddb7b5675
1 changed files with 1 additions and 0 deletions
|
@ -605,6 +605,7 @@ ACCOUNT_SIGNUP_REDIRECT_URL = '/dashboard/'
|
|||
ACCOUNT_LOGIN_REDIRECT_URL = '/dashboard/'
|
||||
|
||||
ADMINS = [('', email) for email in os.environ.get('DJANGO_ADMINS', '').split(',') if email]
|
||||
SERVER_EMAIL = DEFAULT_FROM_EMAIL
|
||||
|
||||
if not DEBUG:
|
||||
# Django recommended security settings.
|
||||
|
|
Loading…
Reference in a new issue