aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorTom Christie2014-01-15 14:43:34 +0000
committerTom Christie2014-01-15 14:43:34 +0000
commit39ca11c6626aa08095af2604a8d4b708e493514c (patch)
tree0802f9e92456d53b08ef63faf34b47efa70d11b6 /tutorial
parenta84706147678c69fc797af0948940ad0a7d7d785 (diff)
downloaddjango-rest-framework-39ca11c6626aa08095af2604a8d4b708e493514c.tar.bz2
Latest docs build
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/1-serialization.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/tutorial/1-serialization.html b/tutorial/1-serialization.html
index 00ef6186..f8bca54f 100644
--- a/tutorial/1-serialization.html
+++ b/tutorial/1-serialization.html
@@ -201,9 +201,8 @@
<h2 id="setting-up-a-new-environment">Setting up a new environment</h2>
<p>Before we do anything else we'll create a new virtual environment, using <a href="http://www.virtualenv.org/en/latest/index.html">virtualenv</a>. This will make sure our package configuration is kept nicely isolated from any other projects we're working on.</p>
<pre class="prettyprint lang-bsh">
-mkdir ~/env
-virtualenv ~/env/tutorial
-source ~/env/tutorial/bin/activate
+virtualenv env
+source env/bin/activate
</code></pre>
<p>Now that we're inside a virtualenv environment, we can install our package requirements.</p>
<pre class="prettyprint lang-py"><code>pip install django