[Django] #35258: Rename the 'runserver' management command to 'devserver' to be more explicit that it is intended for development only

13 views
Skip to first unread message

Django

unread,
Feb 27, 2024, 3:58:27 PM2/27/24
to django-...@googlegroups.com
#35258: Rename the 'runserver' management command to 'devserver' to be more
explicit that it is intended for development only
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
nanorepublica |
Type: New | Status: new
feature |
Component: Core | Version:
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
This ticket is related to the first part of this
[proposal](https://forum.djangoproject.com/t/proposal-rename-runserver-
command-to-devserver-and-add-a-prodserver-management-command/28030)

I would suggest the following steps:

1. rename `runserver` to `devserver`
2. recreate `runserver` that has the `devserver` class as a base class and
add the standard deprecation warning (example in this
[PR](https://github.com/nanorepublica/django-prodserver/pull/17/files))
3. Update the documentation, which should be a search & replace.


Note: I will raise the second part as a separate ticket since each has
pros/cons and could be accepted/rejected independently.
--
Ticket URL: <https://code.djangoproject.com/ticket/35258>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 28, 2024, 12:03:02 AM2/28/24
to django-...@googlegroups.com
#35258: Rename the 'runserver' management command to 'devserver' to be more
explicit that it is intended for development only
-------------------------------------+-------------------------------------
Reporter: nanorepublica | Owner: nobody
Type: New feature | Status: closed
Component: Core (Management | Version:
commands) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* easy: 1 => 0
* resolution: => wontfix
* status: new => closed

Comment:

Closing as "wontfix" per discussion on the forum. We have to reach a
strong consensus on the forum to change such a long-standing API.
--
Ticket URL: <https://code.djangoproject.com/ticket/35258#comment:1>
Reply all
Reply to author
Forward
0 new messages