From bbbfe4d4e49b964c2b15ffc158cb3ba2d06973d9 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 30 Sep 2015 10:05:39 +0200 Subject: [PATCH] Add the host to the list of ALLOWED_HOSTS --- roles/pdc/templates/settings_local.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/pdc/templates/settings_local.py b/roles/pdc/templates/settings_local.py index 0db3ec279f..f642be9154 100644 --- a/roles/pdc/templates/settings_local.py +++ b/roles/pdc/templates/settings_local.py @@ -60,8 +60,7 @@ DEBUG = False # NOTE: this is needed when DEGUB is False. # https://docs.djangoproject.com/en/1.8/ref/settings/#allowed-hosts -#ALLOWED_HOSTS = ['pdc.fedoraproject.org'] -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['{{ hostname }}'] # ADMINS and MANAGERS # ADMINS = ()