Fix the start command not to reload if debug is False

This commit is contained in:
Oskar Hahn 2016-01-29 09:51:12 +01:00
parent 28171ac6ff
commit fbf8b0aa62

View File

@ -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):