Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

run-dev: Disable Django runserver warning.

Tim Abbott3593c5f4c7a3
diff --git a/tools/run-dev b/tools/run-dev
index c8e381dab57..226d7449131 100755
--- a/tools/run-dev
+++ b/tools/run-dev
@@ -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"