Move ALLOWED_HOSTS into local settings (djangocommonsettings.py)
This commit is contained in:
parent
e246c530c4
commit
4a2ed6714a
1 changed files with 0 additions and 4 deletions
|
@ -26,10 +26,6 @@ ROOT_URLCONF = 'conservancy.urls'
|
||||||
|
|
||||||
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
|
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['www.sfconservancy.org', 'sfconservancy.org']
|
|
||||||
if DEBUG:
|
|
||||||
ALLOWED_HOSTS = ['*']
|
|
||||||
|
|
||||||
REDIRECT_TABLE = {
|
REDIRECT_TABLE = {
|
||||||
'www.sf-conservancy.org': 'sfconservancy.org',
|
'www.sf-conservancy.org': 'sfconservancy.org',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue