summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-05-29 04:50:04 -0700
committerCarlton Gibson <carlton.gibson@noumenal.es>2020-06-02 11:53:14 +0200
commitd7ee69d2f28da5f08dd8a261bb1f205187a2add2 (patch)
treed9aed625f4d79ca5ba7386f84a50e9ace4a7d64d /docs/topics
parentfe07357ef9678bfbe06c0552ef1f9ae7f22a8d3d (diff)
[3.1.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/install.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/topics/install.txt b/docs/topics/install.txt
index 3ce3dc2f1c..7dab429319 100644
--- a/docs/topics/install.txt
+++ b/docs/topics/install.txt
@@ -137,11 +137,11 @@ This is the recommended way to install Django.
it's outdated. If it's outdated, you'll know because installation won't
work.
-#. Take a look at virtualenv_ and virtualenvwrapper_. These tools provide
+#. Take a look at :doc:`venv <python:tutorial/venv>`. This tool provides
isolated Python environments, which are more practical than installing
- packages systemwide. They also allow installing packages without
+ packages systemwide. It also allows installing packages without
administrator privileges. The :doc:`contributing tutorial
- </intro/contributing>` walks through how to create a virtualenv.
+ </intro/contributing>` walks through how to create a virtual environment.
#. After you've created and activated a virtual environment, enter the command:
@@ -150,8 +150,6 @@ This is the recommended way to install Django.
$ python -m pip install Django
.. _pip: https://pip.pypa.io/
-.. _virtualenv: https://virtualenv.pypa.io/
-.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/
.. _standalone pip installer: https://pip.pypa.io/en/latest/installing/#installing-with-get-pip-py
.. _installing-distribution-package:
@@ -198,11 +196,12 @@ latest bug fixes and improvements, follow these instructions:
This will create a directory ``django`` in your current directory.
#. Make sure that the Python interpreter can load Django's code. The most
- convenient way to do this is to use virtualenv_, virtualenvwrapper_, and
- pip_. The :doc:`contributing tutorial </intro/contributing>` walks through
- how to create a virtualenv.
+ convenient way to do this is to use a virtual environment and pip_. The
+ :doc:`contributing tutorial </intro/contributing>` walks through how to
+ create a virtual environment.
-#. After setting up and activating the virtualenv, run the following command:
+#. After setting up and activating the virtual environment, run the following
+ command:
.. console::