Changeset - 6992f63bb408
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 13 years ago 2010-10-11 19:48:17
bkuhn@ebb.org
Test thing for redirect table.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -23,6 +23,10 @@ SITE_ID = 2
 
ROOT_URLCONF = 'conservancy.urls'
 
FORCE_CANONICAL_HOSTNAME = "sfconservancy.org"
 

	
 
REDIRECT_TABLE = {
 
    'www.sf-conservancy.org': 'sfconservancy.org',
 
}
 

	
 
try:
 
    from djangodebug import conservancy_hostname as FORCE_CANONICAL_HOSTNAME
 
except:
0 comments (0 inline, 0 general)