#32813: Display development server address after server bind
-------------------------------------+-------------------------------------
Reporter: fmwviormv | Owner: nobody
Type: New | Status: new
feature |
Component: Core | Version: dev
(Management commands) | Keywords: development server,
Severity: Normal | automatic port
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Currently Django will display server name and port before actual binding;
so there is a problem with port 0 (automatic port):
{{{
$ ./manage.py runserver 127.0.0.1:0
...
Starting development server at http://127.0.0.1:0/
Quit the server with CONTROL-C.
}}}
in this case port number is chosen automatically by operating system
dynamically;
so there is no way we can find it before binding.
Django should display port number after binding (real port number):
{{{
$ ./manage.py runserver 127.0.0.1:0
...
Starting development server at http://127.0.0.1:25837/
Quit the server with CONTROL-C.
}}}
I also have a pull-request in github:
https://github.com/django/django/pull/14250
--
Ticket URL: <https://code.djangoproject.com/ticket/32813>
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/052.04ed62161b19a8e604d858225dbebb77%40djangoproject.com.