Test thing for redirect table.
This commit is contained in:
parent
fb658152cf
commit
6992f63bb4
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue