From fbf8b0aa6284339cadbf51b681d6174484add625 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Fri, 29 Jan 2016 09:51:12 +0100 Subject: [PATCH] Fix the start command not to reload if debug is False --- openslides/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openslides/__main__.py b/openslides/__main__.py index 0672e44a5..ff9cc9fa8 100644 --- a/openslides/__main__.py +++ b/openslides/__main__.py @@ -139,7 +139,8 @@ def start(args): start_browser('http://localhost:8000') # Start the webserver - execute_from_command_line(['manage.py', 'runserver', '0.0.0.0:8000']) + # Tell django not to reload. OpenSlides uses the reload method from tornado + execute_from_command_line(['manage.py', 'runserver', '0.0.0.0:8000', '--noreload']) def createsettings(args):