From 06d89663931e8c0066c56a0484ba045cc546adf3 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 11 Mar 2022 17:34:48 +0100 Subject: [PATCH] Fix manager mailing settings --- photo21/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/photo21/settings.py b/photo21/settings.py index d34471f..eaa3a79 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -38,11 +38,15 @@ ALLOWED_HOSTS = [ ] # Admins receive server errors, this is useful to be notified of potential bugs -# By default MANAGERS=ADMINS, so admins also receive upload notifications ADMINS = [ ("admin", "photos-admin@lists.crans.org"), ] +# Managers receive uploads notification +MANAGERS = [ + ('admin', 'photos-admin@lists.crans.org'), +] + # Use secure cookies in production SESSION_COOKIE_SECURE = not DEBUG CSRF_COOKIE_SECURE = not DEBUG