Fix the start command not to reload if debug is False
This commit is contained in:
parent
28171ac6ff
commit
fbf8b0aa62
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user