From fb3f6526611e22db4dcac8d8ea4e99b01c10ffcd Mon Sep 17 00:00:00 2001 From: Roman Voropaev Date: Thu, 8 Sep 2016 23:20:56 +0300 Subject: [PATCH] Updates Not so much changes, but nevertheless ) --- docs/tutorial/quickstart.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index b354de4ac..1f0f1b80d 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -12,10 +12,11 @@ Create a new Django project named `tutorial`, then start a new app called `quick # Create a virtualenv to isolate our package dependencies locally virtualenv env - . env/bin/activate # On Windows use `env\Scripts\activate` + source env/bin/activate # On Windows use `env\Scripts\activate` # Install Django and Django REST framework into the virtualenv - pip install django djangorestframework + pip install django + pip install djangorestframework # Set up a new project with a single application django-admin startproject tutorial . # Note the trailing '.' character @@ -25,11 +26,11 @@ Create a new Django project named `tutorial`, then start a new app called `quick Now sync your database for the first time: - python manage.py migrate + ./manage.py migrate We'll also create an initial user named `admin` with a password of `password123`. We'll authenticate as that user later in our example. - python manage.py createsuperuser + ./manage.py createsuperuser Once you've set up a database and initial user created and ready to go, open up the app's directory and we'll get coding...