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:

  1. ASGI example:

granian --interface=asgi config.asgi:application

  1. 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 Adam Johnson, 3 weeks ago

Triage Stage: UnreviewedAccepted

comment:2 by Adam Johnson, 3 weeks ago

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.

comment:3 by Kundan Yadav, 2 weeks ago

Owner: changed from JaeHyuckSa to Kundan Yadav

https://github.com/django/django/pull/20399

i have modified the docs
and the spellings_Words

comment:4 by JaeHyuckSa, 2 weeks ago

Owner: changed from Kundan Yadav to JaeHyuckSa

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.

Last edited 2 weeks ago by JaeHyuckSa (previous) (diff)

comment:5 by JaeHyuckSa, 2 weeks ago

Has patch: set

comment:6 by Jacob Walls, 2 weeks ago

Patch needs improvement: set

comment:7 by JaeHyuckSa, 12 days ago

Patch needs improvement: unset

comment:8 by Jacob Walls, 11 days ago

Triage Stage: AcceptedReady for checkin

comment:9 by Jacob Walls, 11 days ago

Version: 6.0dev

comment:10 by Jacob Walls <jacobtylerwalls@…>, 11 days ago

Resolution: fixed
Status: assignedclosed

In 60fecd1:

Fixed #36781 -- Added Granian to deployment documentation.

Signed-off-by: JaeHyuck Sa <wogur981208@…>

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