ci: fix comment in settings_local.py
This commit is contained in:
parent
4b57602404
commit
5bb79bb7ca
|
@ -82,7 +82,7 @@ else:
|
||||||
# Set DEBUG if DATATRACKER_DEBUG env var is the word "true"
|
# Set DEBUG if DATATRACKER_DEBUG env var is the word "true"
|
||||||
DEBUG = os.environ.get("DATATRACKER_DEBUG", "false").lower() == "true"
|
DEBUG = os.environ.get("DATATRACKER_DEBUG", "false").lower() == "true"
|
||||||
|
|
||||||
# DATATRACKER_ALLOWED_HOSTS env var is a comma-separated list of allowed hosts
|
# DATATRACKER_ALLOWED_HOSTS env var is a newline-separated list of allowed hosts
|
||||||
_allowed_hosts_str = os.environ.get("DATATRACKER_ALLOWED_HOSTS", None)
|
_allowed_hosts_str = os.environ.get("DATATRACKER_ALLOWED_HOSTS", None)
|
||||||
if _allowed_hosts_str is not None:
|
if _allowed_hosts_str is not None:
|
||||||
ALLOWED_HOSTS = _multiline_to_list(_allowed_hosts_str)
|
ALLOWED_HOSTS = _multiline_to_list(_allowed_hosts_str)
|
||||||
|
|
Loading…
Reference in a new issue