#31626: Add asgi support to runserver
-------------------------------------------+------------------------
Reporter: Joshua Massover | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
Conversation about this ticket can be found on the
[https://forum.djangoproject.com/t/adding-asgi-support-to-runserver/2446
django forum]
It would be great to add an `asgi` flag such that runserver will "just
work" with ASGI. eg.
`./manage.py runserver --asgi`
The 4 options I've thought of are the following:
1. Update runserver in django in a way that keeps the daphne import
optional.
2. Add daphne as a dependency to django and update runserver.
3. Maintain a separate django app that holds the command that integrates
daphne with runserver. Reference the app in asgi section of the django
documentation.
4. Add the commands to the daphne repository, perhaps allowing us to add
daphne as an installed app so the command is discovered, and reference
this in the asgi section of the django documentation.
I have an [https://github.com/django/django/pull/12969 initial pr] for
(1). This code depends on #31594.
--
Ticket URL: <https://code.djangoproject.com/ticket/31626>
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/051.019f751f980331042149ec3bbc4fa857%40djangoproject.com.