Opened 3 weeks ago
Closed 11 days ago
#36781 closed New feature (fixed)
Add Granian to Django deployment documentation (ASGI & WSGI support)
| Reported by: | JaeHyuckSa | Owned by: | JaeHyuckSa |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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:
- ASGI example:
granian --interface=asgi config.asgi:application
- 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
Change History (10)
comment:1 by , 3 weeks ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 3 weeks ago
comment:3 by , 2 weeks ago
| Owner: | changed from to |
|---|
https://github.com/django/django/pull/20399
i have modified the docs
and the spellings_Words
comment:4 by , 2 weeks ago
| Owner: | changed from to |
|---|
Hello Kundan Yadav, I had already assigned this ticket to myself and was in the process of working on it.
Kindly ensure the ticket is assigned before proceeding with the work in the future.
Additionally, we would appreciate it if you could read and follow the contribution guidelines(https://docs.djangoproject.com/en/dev/internals/contributing/) when making a contribution. Thank you.
comment:5 by , 2 weeks ago
| Has patch: | set |
|---|
comment:6 by , 2 weeks ago
| Patch needs improvement: | set |
|---|
comment:7 by , 12 days ago
| Patch needs improvement: | unset |
|---|
comment:8 by , 11 days ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:9 by , 11 days ago
| Version: | 6.0 → dev |
|---|
Let's not do a "short note", but give it similar treatment to existing servers, with a short tutorial for getting deployment statred. For the current document structure, that would mean two documents: one in the ASGI and one in the WSGI directory, within
docs/howto/deployment.