Display development server address after server bind
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
Change History
(20)
Owner: |
changed from nobody to fmwviormv
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
New feature → Bug
|
Patch needs improvement: |
set
|
Owner: |
changed from fmwviormv to Abhijeet
|
Owner: |
changed from Abhijeet to Abhijeet Pal
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Needs tests: |
set
|
Patch needs improvement: |
set
|
Needs tests: |
unset
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Owner: |
changed from Abhijeet Pal to Dhanush
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Hi, there has not been any activity in the last 12 months and the original PR was closed. I am assigning the ticket to myself to move it forward.