Skip to content

Commit 36b8050

Browse files
JakobGMjasonamyers
authored andcommitted
Merged in JakobGM/virtualenvwrapper-1/JakobGM/use-code-blocks-in-order-to-allow-easier-1508879869188 (pull request #66)
Use code blocks in order to allow easier copy-pasting Approved-by: Jason Myers <[email protected]>
2 parents 5b58f73 + 7d39801 commit 36b8050

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/source/scripts.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ if you work on multiple projects, you want it to be specific to the project
2222
you are currently working on. Wouldn't it be nice if it was set based on the
2323
active virtualenv? You can achieve this with :ref:`scripts` as follows.
2424

25-
If your :ref:`WORKON_HOME <variable-WORKON_HOME>` is set to ~/.virtualenvs:
25+
If your :ref:`WORKON_HOME <variable-WORKON_HOME>` is set to ~/.virtualenvs::
2626

2727
vim ~/.virtualenvs/premkvirtualenv
2828

29-
Edit the file so it contains the following (for a default Django setup):
29+
Edit the file so it contains the following (for a default Django setup)::
3030

3131
# Automatically set django settings for the virtualenv
32-
3332
echo "export DJANGO_SETTINGS_MODULE=$1.settings" >> "$1/bin/activate"
3433

3534
Create a new virtualenv, and you should see DJANGO_SETTINGS_MODULE in your env!

0 commit comments

Comments
 (0)