Add Granian to “How to deploy” docs (ASGI & WSGI support)

Hi everyone,

Django’s deployment docs currently mention Daphne, Uvicorn, and Hypercorn for ASGI,
and Gunicorn for WSGI.

I’d like to suggest adding Granian, a Rust-based high-performance server that can run Django using both ASGI and WSGI interfaces.

Example:

# ASGI
granian --interface asgi config.asgi:application

# WSGI
granian --interface wsgi config.wsgi:application

Granian is fast, simple, and works well for running Django applications.
Even a short note like

“Other servers such as Granian can also be used.”

would help keep the docs current.

Discussion: Deploy Django with Granian · emmett-framework/granian · Discussion #187 · GitHub

Thanks!

5 Likes

It’s a +1 from me! Granian is cool.

+1 for me also. Do you have a Trac ticket yet?

@jacobtylerwalls I’ve just created the corresponding ticket here: #36781 (Add Granian to Django deployment documentation (ASGI & WSGI support)) – Django.

1 Like