From 4a2ed6714a4469cfb9fafb2481eea77c3e798b1b Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 6 Feb 2024 21:59:31 +1100 Subject: [PATCH] Move ALLOWED_HOSTS into local settings (djangocommonsettings.py) --- conservancy/settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conservancy/settings.py b/conservancy/settings.py index be9ccaa3..6440570f 100644 --- a/conservancy/settings.py +++ b/conservancy/settings.py @@ -26,10 +26,6 @@ ROOT_URLCONF = 'conservancy.urls' FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org' -ALLOWED_HOSTS = ['www.sfconservancy.org', 'sfconservancy.org'] -if DEBUG: - ALLOWED_HOSTS = ['*'] - REDIRECT_TABLE = { 'www.sf-conservancy.org': 'sfconservancy.org', }