mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-12-01 22:14:06 +03:00
Merge pull request #1688 from ekonstantinidis/quick-start-order
Updated quick start project set up order
This commit is contained in:
commit
92d51c813f
|
@ -6,8 +6,8 @@ We're going to create a simple API to allow admin users to view and edit the use
|
||||||
|
|
||||||
Create a new Django project named `tutorial`, then start a new app called `quickstart`.
|
Create a new Django project named `tutorial`, then start a new app called `quickstart`.
|
||||||
|
|
||||||
# Set up a new project
|
# Create the project directory
|
||||||
django-admin.py startproject tutorial
|
mkdir tutorial
|
||||||
cd tutorial
|
cd tutorial
|
||||||
|
|
||||||
# Create a virtualenv to isolate our package dependencies locally
|
# Create a virtualenv to isolate our package dependencies locally
|
||||||
|
@ -18,6 +18,9 @@ Create a new Django project named `tutorial`, then start a new app called `quick
|
||||||
pip install django
|
pip install django
|
||||||
pip install djangorestframework
|
pip install djangorestframework
|
||||||
|
|
||||||
|
# Set up a new project
|
||||||
|
django-admin.py startproject tutorial
|
||||||
|
|
||||||
# Create a new app
|
# Create a new app
|
||||||
python manage.py startapp quickstart
|
python manage.py startapp quickstart
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user