aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/quickstart.html
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/quickstart.html')
-rw-r--r--tutorial/quickstart.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/tutorial/quickstart.html b/tutorial/quickstart.html
index 171e7255..47107d0e 100644
--- a/tutorial/quickstart.html
+++ b/tutorial/quickstart.html
@@ -205,8 +205,8 @@ a.fusion-poweredby {
<p>We're going to create a simple API to allow admin users to view and edit the users and groups in the system.</p>
<h2 id="project-setup">Project setup</h2>
<p>Create a new Django project named <code>tutorial</code>, then start a new app called <code>quickstart</code>.</p>
-<pre class="prettyprint lang-py"><code># Set up a new project
-django-admin.py startproject tutorial
+<pre class="prettyprint lang-py"><code># Create the project directory
+mkdir tutorial
cd tutorial
# Create a virtualenv to isolate our package dependencies locally
@@ -217,6 +217,9 @@ source env/bin/activate # On Windows use `env\Scripts\activate`
pip install django
pip install djangorestframework
+# Set up a new project
+django-admin.py startproject tutorial
+
# Create a new app
python manage.py startapp quickstart
</code></pre>