Skip to content

Commit

Permalink
Merge pull request #180 from monomaniar/master
Browse files Browse the repository at this point in the history
Miss import django.HttpResponse.
  • Loading branch information
masci committed Jan 2, 2015
2 parents dea3d72 + 6d327d4 commit 1fb1b88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorial/tutorial_02.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ your `views.py` module and import the view:
.. code-block:: python
from oauth2_provider.views.generic import ProtectedResourceView
from django.http import HttpResponse
Then create the view which will respond to the API endpoint:

Expand Down Expand Up @@ -61,4 +62,4 @@ Try performing a request and check that your :term:`Resource Server` aka :term:`
an HTTP 200.

:doc:`Part 3 of the tutorial <tutorial_03>` will show how to use an access token to authenticate
users.
users.

0 comments on commit 1fb1b88

Please sign in to comment.