diff options
| author | Tom Christie | 2014-01-15 14:43:34 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-01-15 14:43:34 +0000 |
| commit | 39ca11c6626aa08095af2604a8d4b708e493514c (patch) | |
| tree | 0802f9e92456d53b08ef63faf34b47efa70d11b6 /tutorial | |
| parent | a84706147678c69fc797af0948940ad0a7d7d785 (diff) | |
| download | django-rest-framework-39ca11c6626aa08095af2604a8d4b708e493514c.tar.bz2 | |
Latest docs build
Diffstat (limited to 'tutorial')
| -rw-r--r-- | tutorial/1-serialization.html | 5 |
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 |
