Opened 9 months ago

Closed 9 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:

  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.

Change History (1)

comment:1 by Mariusz Felisiak, 9 months ago

Easy pickings: unset
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top