#27705: Make runserver command more extensible -------------------------------------+------------------------------------- Reporter: David | Owner: nobody Sanders | Type: New | Status: new feature | Component: Core | Version: master (Management commands) | Severity: Normal | Keywords: Triage Stage: | Has patch: 1 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- Small refactor of the code for the `runserver` management command to make it easier to extend. Namely, make it easy for a subclass of the command to change the protocol in the startup message, and allow easy changing of the server class used.
These changes make it much easier to create an SSL version of `runserver` without duplicating code like the [https://github.com/teddziuba/django- sslserver django-sslserver] project has done. That project suffers from the autoreload functionality not working due to the copied code, as well as drift in flags available for the command, again due to having to copy code. -- Ticket URL: <https://code.djangoproject.com/ticket/27705> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/053.b3bc3775d36954fa63f1fa3ab08ca093%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.