#36781: Add Granian to Django deployment documentation (ASGI & WSGI support)
-----------------------------------------+----------------------------
Reporter: JaeHyuckSa | Owner: JaeHyuckSa
Type: New feature | Status: assigned
Component: Documentation | Version: 6.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 |
-----------------------------------------+----------------------------
Granian, a Rust-based high-performance application server, now provides
stable support for running Django through both ASGI and WSGI interfaces.
Django’s current deployment documentation lists Daphne, Uvicorn, and
Hypercorn for ASGI, and Gunicorn for WSGI. Since Granian fully supports
both interfaces and is being actively adopted, adding it to the
documentation would help keep the deployment guide up to date.
Proposed additions:
1. ASGI example:
granian --interface=asgi config.asgi:application
2. WSGI example:
granian --interface=wsgi config.wsgi:application
Even a short note such as:
“Other servers such as Granian also support running Django via ASGI and
WSGI.”
would provide helpful guidance to users exploring deployment options.
Forum discussion (includes positive community feedback):
https://forum.djangoproject.com/t/add-granian-to-how-to-deploy-docs-asgi-
wsgi-support/43386
Relevant GitHub discussion:
https://github.com/emmett-framework/granian/discussions/187
--
Ticket URL: <
https://code.djangoproject.com/ticket/36781>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.