the allowedhosts value was a list, and I was putting it inside another list [ ] set to ALLOWED_HOSTS

This commit is contained in:
Ronny Abraham 2018-10-16 03:26:03 +03:00
parent b93ea8e259
commit 4ccbe25f25
2 changed files with 2 additions and 2 deletions

View file

@ -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.allowedhosts]
ALLOWED_HOSTS = configuration.project.allowedhosts
# -----------------------------------------
# Debug logging to the console

View file

@ -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.allowedhosts]
ALLOWED_HOSTS = configuration.project.allowedhosts
# -----------------------------------------
# Debug logging to the console