File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ Django OAuth Toolkit provide a support layer for `Django REST Framework <http://
5
5
This tutorial is based on the Django REST Framework example and shows you how to easily integrate with it.
6
6
7
7
**NOTE **
8
- The followin code has been tested with django 1.7.7 and Django REST Framework 3.1.1
8
+
9
+ The following code has been tested with django 1.7.7 and Django REST Framework 3.1.1
9
10
10
11
Step 1: Minimal setup
11
12
---------------------
@@ -119,6 +120,7 @@ so we can use them for permission check.
119
120
Now run the following commands:
120
121
121
122
::
123
+
122
124
python manage.py migrate
123
125
python manage.py createsuperuser
124
126
python manage.py runserver
@@ -129,6 +131,7 @@ runs the application.
129
131
Next thing you should do is to login in the admin at
130
132
131
133
::
134
+
132
135
http://localhost:8000/admin
133
136
134
137
and create some users and groups that will be queried later through our API.
@@ -141,6 +144,7 @@ To obtain a valid access_token first we must register an application. DOT has a
141
144
views you can use to CRUD application instances, just point your browser at:
142
145
143
146
::
147
+
144
148
http://localhost:8000/o/applications/
145
149
146
150
Click on the link to create a new application and fill the form with the following data:
You can’t perform that action at this time.
0 commit comments