diff options
| author | Thomas Grainger <tagrain@gmail.com> | 2020-09-29 09:55:06 +0100 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-09-29 10:56:11 +0200 |
| commit | 356efa90b5984eee25359959a20f672273199720 (patch) | |
| tree | d2734e7a64baf311c85065ccc2a215479ef7772f /docs | |
| parent | 793bd24db6dac863ca4fb4166137f349d15f3c1c (diff) | |
[3.1.x] Updated ASGI uvicorn deployment docs.
Backport of c1442e1192057a3bf14aecbaa1b713eee139eaff from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/deployment/asgi/uvicorn.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/deployment/asgi/uvicorn.txt b/docs/howto/deployment/asgi/uvicorn.txt index c42341c778..148edc29ea 100644 --- a/docs/howto/deployment/asgi/uvicorn.txt +++ b/docs/howto/deployment/asgi/uvicorn.txt @@ -12,7 +12,7 @@ Installing Uvicorn You can install Uvicorn with ``pip``:: - python -m pip install uvicorn + python -m pip install uvicorn gunicorn Running Django in Uvicorn ========================= @@ -24,7 +24,7 @@ called (separated by a colon). For a typical Django project, invoking Uvicorn would look like:: - uvicorn myproject.asgi:application + gunicorn myproject.asgi:application -k uvicorn.workers.UvicornWorker This will start one process listening on ``127.0.0.1:8000``. It requires that your project be on the Python path; to ensure that run this command from the |
