Start browser at 'localhost:8000' in start script. Fixed #1534.

This commit is contained in:
Norman Jäckel 2015-09-05 09:32:30 +02:00
parent dfe0094661
commit 80efae4980

View File

@ -136,7 +136,7 @@ def start(args):
execute_from_command_line(['manage.py', 'migrate']) execute_from_command_line(['manage.py', 'migrate'])
if not args.no_browser: if not args.no_browser:
start_browser('http://127.0.0.1:8000') start_browser('http://localhost:8000')
# Start the webserver # Start the webserver
execute_from_command_line(['manage.py', 'runserver', '0.0.0.0:8000']) execute_from_command_line(['manage.py', 'runserver', '0.0.0.0:8000'])