#34068: `runserver 0` is not shortcut for 0.0.0.0
-------------------------------------+-------------------------------------
Reporter: Ruslan | Owner: nobody
Oleksandrovich Kovtun |
Type: Bug | Status: new
Component: | Version: 4.1
Uncategorized |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
According to [https://docs.djangoproject.com/en/4.1/intro/tutorial01/#the-
development-server tutorial] running
{{{
python manage.py runserver 0:8000
}}}
is the same as
{{{
python manage.py runserver 0.0.0.0:8000
}}}
but it's output
{{{
$ python manage.py runserver 0:8000
Watching for file changes with StatReloader
...
Starting development server at http://0:8000/
...
}}}
So that you can't use link "http://0:8000/" in your browser. Output should
be "Starting development server at http://0.0.0.0:8000/" when providing
"0:8000" in command line in order to stay consistent with docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/34068>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018395bd639c-ebe37d30-9708-4722-ab5d-06daa30c21f7-000000%40eu-central-1.amazonses.com.