#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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018dec5c8436-f04e97ab-685d-4189-9b85-306a74cdec61-000000%40eu-central-1.amazonses.com.