From e6be169fbe22c1251838a7b8ee4feec16bc54135 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Thu, 28 Jan 2016 11:00:33 +0100
Subject: [PATCH] Include ALLOWED_HOSTS in settings

---
 SciPost_v1/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SciPost_v1/settings.py b/SciPost_v1/settings.py
index 7d636f135..a518a9a79 100644
--- a/SciPost_v1/settings.py
+++ b/SciPost_v1/settings.py
@@ -29,7 +29,7 @@ SECRET_KEY = host_settings["SECRET_KEY"]
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = host_settings["DEBUG"]
 
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = host_settings["ALLOWED_HOSTS"]
 
 # Secure proxy SSL header and secure cookies                                                       
 SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
-- 
GitLab