From a092a72844705e3129b8996b81d8424997b5d37f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 3 Sep 2012 16:54:17 +0100 Subject: View -> APIView --- djangorestframework/tests/request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'djangorestframework/tests/request.py') diff --git a/djangorestframework/tests/request.py b/djangorestframework/tests/request.py index 1d74ea32..7ad99c07 100644 --- a/djangorestframework/tests/request.py +++ b/djangorestframework/tests/request.py @@ -15,7 +15,7 @@ from djangorestframework.parsers import ( ) from djangorestframework.request import Request from djangorestframework.response import Response -from djangorestframework.views import View +from djangorestframework.views import APIView factory = RequestFactory() @@ -207,7 +207,7 @@ class TestContentParsing(TestCase): # self.assertEqual(request.DATA.items(), data.items()) -class MockView(View): +class MockView(APIView): authentication = (UserLoggedInAuthentication,) def post(self, request): -- cgit v1.2.3