From b4aa8764f5aea41e7f03aca35a0007f719dab102 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Fri, 20 Dec 2019 13:45:47 +0100 Subject: [PATCH] Allowing localhost connection --- VIPSWeb/local_settings_sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VIPSWeb/local_settings_sample.py b/VIPSWeb/local_settings_sample.py index 965abfa7..e382436e 100755 --- a/VIPSWeb/local_settings_sample.py +++ b/VIPSWeb/local_settings_sample.py @@ -32,7 +32,7 @@ MAINTENANCE_MODE = False # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = ["www.example.com"] +ALLOWED_HOSTS = ["localhost"] SITE_ROOT = os.path.dirname(os.path.realpath(__file__)) -- GitLab