Merge pull request #1552 from dpetzel/permissions_guide_response_typo

very minor typo in code example
This commit is contained in:
Xavier Ordoquy 2014-04-28 20:51:19 +02:00
commit ce2e55a513

View File

@ -56,7 +56,7 @@ You can also set the authentication policy on a per-view, or per-viewset basis,
using the `APIView` class based views. using the `APIView` class based views.
from rest_framework.permissions import IsAuthenticated from rest_framework.permissions import IsAuthenticated
from rest_framework.responses import Response from rest_framework.response import Response
from rest_framework.views import APIView from rest_framework.views import APIView
class ExampleView(APIView): class ExampleView(APIView):