Changeset - 993f4bc72fd7
[Not reviewed]
0 1 0
Brett Smith (brett) - 5 years ago 2016-12-03 03:17:59
brett@sfconservancy.org
settings: Don't FORCE_CANONICAL_HOSTNAME when DEBUG.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -24,8 +24,7 @@ from djangocommonsettings import *
 
SITE_ID = 2
 
ROOT_URLCONF = 'conservancy.urls'
 

	
 

	
 
FORCE_CANONICAL_HOSTNAME = "sfconservancy.org"
 
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
 

	
 
ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org',  u'104.130.70.210' ]
 

	
0 comments (0 inline, 0 general)