use the allowedhosts variable in place of the other two. even if allowed_hosts is not set in conf, the host extended host name will be used anyway
This commit is contained in:
parent
d9e5f5edd1
commit
d57781436b
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ USE_DEBUG_TOOLBAR = DEBUG
|
|||
# allow template debug outputs on {{ project_branch }} environment
|
||||
INTERNAL_IPS = ['127.0.0.1', '127.0.0.2', '127.0.0.3', ]
|
||||
|
||||
ALLOWED_HOSTS = [configuration.project.extendedname, configuration.project.host]
|
||||
ALLOWED_HOSTS = [configuration.project.allowedhosts]
|
||||
|
||||
# -----------------------------------------
|
||||
# Debug logging to the console
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ USE_DEBUG_TOOLBAR = DEBUG
|
|||
# allow template debug outputs on {{ project_branch }} environment
|
||||
INTERNAL_IPS = ['127.0.0.1', '127.0.0.2', '127.0.0.3', ]
|
||||
|
||||
ALLOWED_HOSTS = [configuration.project.extendedname, ]
|
||||
ALLOWED_HOSTS = [configuration.project.allowedhosts]
|
||||
|
||||
# -----------------------------------------
|
||||
# Debug logging to the console
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue