From 6992f63bb408852e56be5fe1d62be8caa44a59bd Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Mon, 11 Oct 2010 15:48:17 -0400 Subject: [PATCH] Test thing for redirect table. --- www/conservancy/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/conservancy/settings.py b/www/conservancy/settings.py index 2775c0fd..6fab2d65 100644 --- a/www/conservancy/settings.py +++ b/www/conservancy/settings.py @@ -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: