We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dea3d72 + 6d327d4 commit 1fb1b88Copy full SHA for 1fb1b88
docs/tutorial/tutorial_02.rst
@@ -19,6 +19,7 @@ your `views.py` module and import the view:
19
.. code-block:: python
20
21
from oauth2_provider.views.generic import ProtectedResourceView
22
+ from django.http import HttpResponse
23
24
Then create the view which will respond to the API endpoint:
25
@@ -61,4 +62,4 @@ Try performing a request and check that your :term:`Resource Server` aka :term:`
61
62
an HTTP 200.
63
64
:doc:`Part 3 of the tutorial <tutorial_03>` will show how to use an access token to authenticate
-users.
65
+users.
0 commit comments