Define server admins and moderators

This commit is contained in:
Alexandre Iooss 2021-10-15 10:50:57 +02:00
parent fb99407d1f
commit 2bd96a4380

View file

@ -35,6 +35,16 @@ ALLOWED_HOSTS = [
"photos-dev.crans.org", "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 # Application definition