Opened 10 months ago
Closed 10 months ago
#35258 closed New feature (wontfix)
Rename the 'runserver' management command to 'devserver' to be more explicit that it is intended for development only
Reported by: | Andy Miller | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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:
- rename
runserver
todevserver
- recreate
runserver
that has thedevserver
class as a base class and add the standard deprecation warning (example in this [PR](https://github.com/nanorepublica/django-prodserver/pull/17/files)) - 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.
Change History (1)
comment:1 by , 10 months ago
Easy pickings: | unset |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.