aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-01-14 17:13:48 +0000
committerTom Christie2014-01-14 17:13:48 +0000
commit9a8082878a08bb87f5e71f245caedc3c9dfd3616 (patch)
tree264655b455b14e697301a4e1d861b4f3f16c6475 /docs
parentcbd214699dd8f02d148d35bc52f96e85092a110a (diff)
downloaddjango-rest-framework-9a8082878a08bb87f5e71f245caedc3c9dfd3616.tar.bz2
Use a local virtualenv, not in the users homedir.
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/1-serialization.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md
index 2298df59..979c4a3e 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -17,9 +17,8 @@ The tutorial is fairly in-depth, so you should probably get a cookie and a cup o
Before we do anything else we'll create a new virtual environment, using [virtualenv]. This will make sure our package configuration is kept nicely isolated from any other projects we're working on.
:::bash
- mkdir ~/env
- virtualenv ~/env/tutorial
- source ~/env/tutorial/bin/activate
+ virtualenv env
+ source env/bin/activate
Now that we're inside a virtualenv environment, we can install our package requirements.