From 90825a55bcff12ff3181473ea26910234313cc22 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 14 Feb 2020 15:49:16 +0100 Subject: [PATCH] TMSS-138: when DEBUG=True, ALLOWED_HOSTS is automatically filled in by django: https://docs.djangoproject.com/en/3.0/ref/settings/#allowed-hosts --- SAS/TMSS/src/tmss/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SAS/TMSS/src/tmss/settings.py b/SAS/TMSS/src/tmss/settings.py index 85ce3ea7453..187a7d066be 100644 --- a/SAS/TMSS/src/tmss/settings.py +++ b/SAS/TMSS/src/tmss/settings.py @@ -77,7 +77,7 @@ SECRET_KEY = '-&$!kx$_0)u1x#zk9w^^81hfssaover2(8wdq_8n8n3u(8=-9n' # todo: # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['localhost'] +ALLOWED_HOSTS = [] # Application definition -- GitLab