From 5a1ca1bd8f96604ac827c6f7921d72834e58b137 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Thu, 7 Apr 2016 19:59:01 +0200 Subject: [PATCH] Add admins to settings (for emailing error reports) --- SciPost_v1/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SciPost_v1/settings.py b/SciPost_v1/settings.py index 34fe4a198..f6b74aee3 100644 --- a/SciPost_v1/settings.py +++ b/SciPost_v1/settings.py @@ -29,6 +29,9 @@ SECRET_KEY = host_settings["SECRET_KEY"] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = host_settings["DEBUG"] +# Emails for server error reporting +ADMINS = host_settings["ADMINS"] + ALLOWED_HOSTS = host_settings["ALLOWED_HOSTS"] # Secure proxy SSL header and secure cookies -- GitLab