From 3d3f09cfdb455c77f7f70b0e6c4d70096504f97c Mon Sep 17 00:00:00 2001 From: ehsabd Date: Sun, 17 Aug 2014 12:35:56 +0430 Subject: [PATCH] missing create a project, project settings for installed apps --- docs/tutorial/quickstart.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 8bf8c7f5c..47d357050 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -17,8 +17,12 @@ Create a new Django project named `tutorial`, then start a new app called `quick # Install Django and Django REST framework into the virtualenv pip install django pip install djangorestframework - - # Create a new app + + # Create a new project + django-admin.py tutorial + + # Create a new app within the project + cd tutorial python manage.py startapp quickstart Next you'll need to get a database set up and synced. If you just want to use SQLite for now, then you'll want to edit your `tutorial/settings.py` module to include something like this: @@ -125,6 +129,7 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a INSTALLED_APPS = ( ... 'rest_framework', + 'quickstart', ) REST_FRAMEWORK = {