From 2bd96a4380283a6de04f15baa4cec257eaabb9f9 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 15 Oct 2021 10:50:57 +0200 Subject: [PATCH] Define server admins and moderators --- photo21/settings.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/photo21/settings.py b/photo21/settings.py index 08250a8..b6967f2 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -35,6 +35,16 @@ ALLOWED_HOSTS = [ "photos-dev.crans.org", ] +# Admins receive server errors, this is useful to be notified of potential bugs +ADMINS = [ + ('erdnaxe', 'a+photo21@crans.org'), +] + +# Managers receive notifications about new photos upload +MANAGERS = [ + ('moderation', 'photos@crans.org'), +] + # Application definition