Test thing for redirect table.

This commit is contained in:
Bradley M. Kuhn 2010-10-11 15:48:17 -04:00
parent fb658152cf
commit 6992f63bb4

View file

@ -23,6 +23,10 @@ SITE_ID = 2
ROOT_URLCONF = 'conservancy.urls' ROOT_URLCONF = 'conservancy.urls'
FORCE_CANONICAL_HOSTNAME = "sfconservancy.org" FORCE_CANONICAL_HOSTNAME = "sfconservancy.org"
REDIRECT_TABLE = {
'www.sf-conservancy.org': 'sfconservancy.org',
}
try: try:
from djangodebug import conservancy_hostname as FORCE_CANONICAL_HOSTNAME from djangodebug import conservancy_hostname as FORCE_CANONICAL_HOSTNAME
except: except: