aboutsummaryrefslogtreecommitdiffstats
path: root/api-guide/permissions.html
diff options
context:
space:
mode:
authorTom Christie2014-06-12 12:22:09 +0100
committerTom Christie2014-06-12 12:22:09 +0100
commit106c8db6f5cacf1e37978d5cf13c9fde3ca29ce9 (patch)
tree6cc268279408148a61c95a63cad523dc0e6589a4 /api-guide/permissions.html
parent03ddd237c93ea5b9159260c49fd856595dbea53c (diff)
downloaddjango-rest-framework-106c8db6f5cacf1e37978d5cf13c9fde3ca29ce9.tar.bz2
Latest docs build
Diffstat (limited to 'api-guide/permissions.html')
-rw-r--r--api-guide/permissions.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/api-guide/permissions.html b/api-guide/permissions.html
index a42b9e3c..5422ae35 100644
--- a/api-guide/permissions.html
+++ b/api-guide/permissions.html
@@ -239,7 +239,7 @@ or if you override the <code>get_object</code> method on a generic view, then yo
<p>You can also set the authentication policy on a per-view, or per-viewset basis,
using the <code>APIView</code> class based views.</p>
<pre class="prettyprint lang-py"><code>from rest_framework.permissions import IsAuthenticated
-from rest_framework.responses import Response
+from rest_framework.response import Response
from rest_framework.views import APIView
class ExampleView(APIView):