Changeset - 4a2ed6714a44
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 2 months ago 2024-02-06 10:59:31
ben@sturm.com.au
Move ALLOWED_HOSTS into local settings (djangocommonsettings.py)
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
conservancy/settings.py
Show inline comments
...
 
@@ -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',
 
}
0 comments (0 inline, 0 general)