From c4c990a98d80ccdbf6b67bcedfdbae3770e4d0e5 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 17 Feb 2019 18:25:12 +0100 Subject: [PATCH] More correction --- dal/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dal/settings.py b/dal/settings.py index 8b467c2..2aa808d 100644 --- a/dal/settings.py +++ b/dal/settings.py @@ -34,7 +34,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) DEBUG = os.environ.get('DEBUG', False) -ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split(",") +ALLOWED_HOSTS = (os.environ.get('ALLOWED_HOSTS', 'localhost')).split(",") INSTALLED_APPS = [ 'django.contrib.admin',