aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/views.md
diff options
context:
space:
mode:
authorYuri Prezument2012-11-27 19:42:37 +0200
committerYuri Prezument2012-11-27 19:42:37 +0200
commit80be571b2e1deebff247ce5dfc4a325f2e2df9ae (patch)
tree6adeba720bebf30b516e927a27699500b3947c34 /docs/api-guide/views.md
parente8a41322fbf96866c70ceb6b188894e02e7718f4 (diff)
downloaddjango-rest-framework-80be571b2e1deebff247ce5dfc4a325f2e2df9ae.tar.bz2
Import from correct place
Diffstat (limited to 'docs/api-guide/views.md')
-rw-r--r--docs/api-guide/views.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md
index 6cef1cd0..d1e42ec1 100644
--- a/docs/api-guide/views.md
+++ b/docs/api-guide/views.md
@@ -19,7 +19,8 @@ Using the `APIView` class is pretty much the same as using a regular `View` clas
For example:
- from rest_framework.views import APIView, Response
+ from rest_framework.views import APIView
+ from rest_framework.response import Response
from rest_framework import authentication, permissions
class ListUsers(APIView):