Merge branch 'hotfix/server-admin-email'

This commit is contained in:
Nathan Chapman 2022-05-20 17:26:09 -06:00
commit a7bcc1ee6b
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ ANYMAIL_CONFIG = {
'MAILGUN_SENDER_DOMAIN': os.environ.get('MAILGUN_SENDER_DOMAIN', '')
}
ADMIN_EMAIL = os.environ.get('ADMIN_EMAIL', 'debug@nathanjchapman.com')
SERVER_EMAIL = os.environ.get('SERVER_EMAIL', '')
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', '')
DEFAULT_CONTACT_EMAIL = os.environ.get('DEFAULT_CONTACT_EMAIL', '')

View File

@ -184,7 +184,7 @@ EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'
ANYMAIL = ANYMAIL_CONFIG
ADMINS = (
('Nathan Chapman', 'debug@nathanjchapman.com'),
('Nathan Chapman', ADMIN_EMAIL),
)
MANAGERS = ADMINS