mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
run-dev: Disable Django runserver warning.
This commit is contained in:
@@ -118,6 +118,11 @@ else:
|
||||
manage_args = [f"--settings={settings_module}"]
|
||||
os.environ["DJANGO_SETTINGS_MODULE"] = settings_module
|
||||
|
||||
# Disable Djangos development server warning; we provide plenty of
|
||||
# warnings on this point in the documentation, which is a better place
|
||||
# to stop folks than the actual server.
|
||||
os.environ["DJANGO_RUNSERVER_HIDE_WARNING"] = "true"
|
||||
|
||||
if options.behind_https_proxy:
|
||||
os.environ["BEHIND_HTTPS_PROXY"] = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user