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:
Norman Jäckel 2016-01-30 09:58:13 +01:00
commit 15bb62b39a

View File

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