#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.