Update default settings

This commit is contained in:
Alexandre Iooss 2022-01-29 20:08:47 +01:00
parent f525e58e9d
commit 13a358ab31

View file

@ -26,7 +26,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = 'CHANGE_ME' SECRET_KEY = 'CHANGE_ME'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = [ ALLOWED_HOSTS = [
"127.0.0.1", "127.0.0.1",
@ -37,12 +37,12 @@ ALLOWED_HOSTS = [
# Admins receive server errors, this is useful to be notified of potential bugs # Admins receive server errors, this is useful to be notified of potential bugs
ADMINS = [ ADMINS = [
('erdnaxe', 'a+photo21@crans.org'), ('admin', 'photos-admin@lists.crans.org'),
] ]
# Managers receive notifications about new photos upload # Managers receive notifications about new photos upload
MANAGERS = [ MANAGERS = [
('moderation', 'photos@crans.org'), ('moderation', 'photos-admin@lists.crans.org'),
] ]