mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 21:14:01 +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`.
|
||||
|
||||
# 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
|
||||
|
@ -18,6 +18,9 @@ Create a new Django project named `tutorial`, then start a new app called `quick
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user