Skip to content

Commit 7d39801

Browse files
committed
Use code blocks in order to allow easier copy-pasting
Currently when you copy these code snippets, quotes are formatted wrongly, resulting in errors.
1 parent 5b58f73 commit 7d39801

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)