From 25b5eea8cdc69a353bb2d22ea2012b09df6c62e4 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Fri, 19 Apr 2019 16:15:38 -0300 Subject: Fixed #30387 -- Enhanced docs CLI examples in Unit tests and Install Django on Windows. Follow up to 37c17846ad6b02c6dca72e8087a279cca04a0c27. --- docs/intro/contributing.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs/intro') diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt index e5ca34b8e6..2b115f6ce6 100644 --- a/docs/intro/contributing.txt +++ b/docs/intro/contributing.txt @@ -150,6 +150,10 @@ If the ``source`` command is not available, you can try using a dot instead: $ . ~/.virtualenvs/djangodev/bin/activate +You have to activate the virtual environment whenever you open a new +terminal window. virtualenvwrapper__ is a useful tool for making this +more convenient. + .. admonition:: For Windows users To activate your virtual environment on Windows, run: @@ -158,9 +162,12 @@ If the ``source`` command is not available, you can try using a dot instead: ...\> %HOMEPATH%\.virtualenvs\djangodev\Scripts\activate.bat -You have to activate the virtual environment whenever you open a new -terminal window. virtualenvwrapper__ is a useful tool for making this -more convenient. + or you can install :ref:`a Windows version of virtualenvwrapper + ` and then use: + + .. code-block:: doscon + + ...\> workon djangodev __ https://virtualenvwrapper.readthedocs.io/en/latest/ -- cgit v1.3