diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-06-02 02:45:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-02 11:45:44 +0200 |
| commit | 8ce570f2f263ab04190f03a0e6b7e7667a3265d8 (patch) | |
| tree | a3adfbf4ec8f703d6619f5c7a66c960e9a067a2c /docs/howto/deployment | |
| parent | ecaac9e42f497be04ddc72dfebb6e397ccca9517 (diff) | |
Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Diffstat (limited to 'docs/howto/deployment')
| -rw-r--r-- | docs/howto/deployment/wsgi/modwsgi.txt | 9 | ||||
| -rw-r--r-- | docs/howto/deployment/wsgi/uwsgi.txt | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/howto/deployment/wsgi/modwsgi.txt b/docs/howto/deployment/wsgi/modwsgi.txt index cbc19628bb..97c261f100 100644 --- a/docs/howto/deployment/wsgi/modwsgi.txt +++ b/docs/howto/deployment/wsgi/modwsgi.txt @@ -48,9 +48,9 @@ your project package (``mysite`` in this example). This tells Apache to serve any request below the given URL using the WSGI application defined in that file. -If you install your project's Python dependencies inside a `virtualenv`_, add -the path to the virtualenv using ``WSGIPythonHome``. See the `mod_wsgi -virtualenv guide`_ for more details. +If you install your project's Python dependencies inside a :mod:`virtual +environment <venv>`, add the path using ``WSGIPythonHome``. See the `mod_wsgi +virtual environment guide`_ for more details. The ``WSGIPythonPath`` line ensures that your project package is available for import on the Python path; in other words, that ``import mysite`` works. @@ -64,8 +64,7 @@ for you; otherwise, you'll need to create it. See the :doc:`WSGI overview documentation</howto/deployment/wsgi/index>` for the default contents you should put in this file, and what else you can add to it. -.. _virtualenv: https://virtualenv.pypa.io/ -.. _mod_wsgi virtualenv guide: https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html +.. _mod_wsgi virtual environment guide: https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html .. warning:: diff --git a/docs/howto/deployment/wsgi/uwsgi.txt b/docs/howto/deployment/wsgi/uwsgi.txt index 43cfdf3b93..6e66189b4e 100644 --- a/docs/howto/deployment/wsgi/uwsgi.txt +++ b/docs/howto/deployment/wsgi/uwsgi.txt @@ -60,7 +60,7 @@ Here's an example command to start a uWSGI server:: --harakiri=20 \ # respawn processes taking more than 20 seconds --max-requests=5000 \ # respawn processes after serving 5000 requests --vacuum \ # clear environment on exit - --home=/path/to/virtual/env \ # optional path to a virtualenv + --home=/path/to/virtual/env \ # optional path to a virtual environment --daemonize=/var/log/uwsgi/yourproject.log # background the process This assumes you have a top-level project package named ``mysite``, and @@ -78,7 +78,7 @@ The Django-specific options here are: * ``module``: The WSGI module to use -- probably the ``mysite.wsgi`` module that :djadmin:`startproject` creates. * ``env``: Should probably contain at least :envvar:`DJANGO_SETTINGS_MODULE`. -* ``home``: Optional path to your project virtualenv. +* ``home``: Optional path to your project virtual environment. Example ini configuration file:: |
