From 6ddb7b56755166a37cf1889efc0156878099a424 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 24 Apr 2023 19:57:21 +1000 Subject: [PATCH] Set SERVER_EMAIL required for error notifications --- pinaxcon/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 41ddbcd4..136e542d 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -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.