From 876567f9337fd476d3b9d8e0163b8b88eb1735d5 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 17 Feb 2019 18:20:56 +0100 Subject: [PATCH] Correct the way we get ALLOWED_HOSTS --- dal/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dal/settings.py b/dal/settings.py index 9fd3169..8b467c2 100644 --- a/dal/settings.py +++ b/dal/settings.py @@ -32,10 +32,10 @@ AUTH_LDAP_START_TLS = os.environ.get('LDAP_USE_TLS', False) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost') - DEBUG = os.environ.get('DEBUG', False) +ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split(",") + INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth',