From 03d52d2a52af89381ee5b1030c672f0daf27be12 Mon Sep 17 00:00:00 2001 From: SirenityK <eldarielmario@gmail.com> Date: Thu, 5 Sep 2024 14:32:46 -0700 Subject: [PATCH] Updated instruction for deploying with Uvicorn and Gunicorn. --- docs/howto/deployment/asgi/uvicorn.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/howto/deployment/asgi/uvicorn.txt b/docs/howto/deployment/asgi/uvicorn.txt index cfce90fec1f..cd7cacd72fd 100644 --- a/docs/howto/deployment/asgi/uvicorn.txt +++ b/docs/howto/deployment/asgi/uvicorn.txt @@ -47,13 +47,13 @@ To install Uvicorn and Gunicorn, use the following: .. code-block:: shell - python -m pip install uvicorn gunicorn + python -m pip install uvicorn uvicorn-worker gunicorn Then start Gunicorn using the Uvicorn worker class like this: .. code-block:: shell - python -m gunicorn myproject.asgi:application -k uvicorn.workers.UvicornWorker + python -m gunicorn myproject.asgi:application -k uvicorn_worker.UvicornWorker .. _Uvicorn: https://www.uvicorn.org/ .. _Gunicorn: https://gunicorn.org/