Django manage.py runningerver doesn't open browser

I am starting Django from the Django book and I am stuck trying to visit 127.0.0.1:8000 with the launch server: it doesn't open any page!

What I've done:

python manage.py runserver 8000

      

and I got this:

Django version 1.6.8, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

      

Everything seems to be correct, but nothing is open in my browser (Google Chrome).

Can anyone tell me why?

0


source to share


1 answer


Django did not open your default browser, you have to do it yourself, open it and visit http://127.0.0.1:8000



If you are using an IDE like Pycharm you can customize it by checking Run browser

to open it every time you restart.

+2


source







All Articles