tutorial icon indicating copy to clipboard operation
tutorial copied to clipboard

Windows runserver.

Open AlexandrWeb opened this issue 7 years ago • 5 comments

Issue description

django_start_project

If not work

(myvenv) ~/djangogirls$ python manage.py runserver 0:8000

work

(myvenv) ~/djangogirls$ python manage.py runserver 0.0.0.0:8000

Operating system

Windows 7.

AlexandrWeb avatar Jan 27 '19 09:01 AlexandrWeb

Can You clarify what's exactly not working? What happens when You run one command, what happens when You run the second one? Do You get in the console or in the web browser?

What's going with django_start_project? Is that the command that does not work?

magul avatar Jan 27 '19 22:01 magul

Also if You have an issue going through this tutorial You can always ask a question on our dedicated Gitter channel here: https://gitter.im/DjangoGirls/tutorial

magul avatar Jan 27 '19 22:01 magul

(myvenv) ~\djangogirls>python manage.py runserver 0:8000 Performing system checks...

System check identified no issues (0 silenced). January [...] Django version [...], using settings 'mysite.settings' Starting development server at http://0:8000/ Quit the server with CTRL-BREAK. Error: [Errno 11004] getaddrinfo failed

(myvenv) ~/djangogirls$ python manage.py runserver 0.0.0.0:8000

Is correct.

This code from django_start_project .

AlexandrWeb avatar Jan 28 '19 08:01 AlexandrWeb

The Russian translation is out of sync with the English original in that regard. Help with updating it on https://crowdin.com/project/django-girls-tutorial would be welcome.

das-g avatar Jan 28 '19 09:01 das-g

In the English original . Command-line

(myvenv) ~/djangogirls$ python manage.py runserver 0.0.0.0:8000

for Chromebook. For Windows do not this line.

For Windows is

(myvenv) ~/djangogirls$ python manage.py runserver 0:8000

command-line.

DjangoGirls good site.

AlexandrWeb avatar Jan 28 '19 10:01 AlexandrWeb