Merge pull request #1926 from ostcar/fix_autoreload_in_django_1.9
Fix the start command not to reload if debug is False
This commit is contained in:
commit
15bb62b39a
@ -139,7 +139,8 @@ def start(args):
|
|||||||
start_browser('http://localhost:8000')
|
start_browser('http://localhost:8000')
|
||||||
|
|
||||||
# Start the webserver
|
# 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):
|
def createsettings(args):
|
||||||
|
Loading…
Reference in New Issue
Block a user