diff options
| author | Tom Christie | 2014-08-20 11:09:41 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-08-20 11:09:41 +0100 |
| commit | 66f25af53a6e1815178b8a010ffd451822ffdc6e (patch) | |
| tree | 6a068930c3c64e61224decfedb68c9d9c596e119 /tutorial/quickstart.html | |
| parent | 623304a19dbbb7bfe67b865edbaf47205bdba429 (diff) | |
| download | django-rest-framework-66f25af53a6e1815178b8a010ffd451822ffdc6e.tar.bz2 | |
Latest sponsor update
Diffstat (limited to 'tutorial/quickstart.html')
| -rw-r--r-- | tutorial/quickstart.html | 7 |
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> |
