From 66f25af53a6e1815178b8a010ffd451822ffdc6e Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 20 Aug 2014 11:09:41 +0100 Subject: Latest sponsor update --- tutorial/quickstart.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tutorial/quickstart.html') 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 {
We're going to create a simple API to allow admin users to view and edit the users and groups in the system.
Create a new Django project named tutorial, then start a new app called quickstart.
# Set up a new project
-django-admin.py startproject tutorial
+# 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
--
cgit v1.2.3