manage testserver and manage runserver should have similiar address:port options
|Reported by:||Owned by:||Fede Heinz|
|Component:||Core (Management commands)||Version:||1.2|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
$ ./manage.py runserver -h
Usage: ./manage.py runserver [options] [optional port number, or ipaddr:port]
Starts a lightweight Web server for development.
$ ./manage.py testserver -h
Usage: ./manage.py testserver [options] [fixture ...]
In order to get the testserver to listen on a particular port, you need to specify the --addrport option.
It would be useful if that option was also understood by the normal runserver command. Or if testserver interpreted a bare port number as the runserver command does.
Change History (13)
comment:3 Changed 6 years ago by
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|
comment:6 Changed 6 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Accepted → Design decision needed|
comment:8 Changed 6 years ago by
|Keywords:||runserver testserver added|
|Type:||→ New feature|