From c30e0795bebd9980a66ae7db1a0d8c43f77d4c11 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 3 Oct 2012 09:26:15 +0100 Subject: Rename generic views --- rest_framework/tests/pagination.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rest_framework/tests/pagination.py') diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py index 9e424cc5..a939c9ef 100644 --- a/rest_framework/tests/pagination.py +++ b/rest_framework/tests/pagination.py @@ -7,7 +7,7 @@ from rest_framework.tests.models import BasicModel factory = RequestFactory() -class RootView(generics.RootAPIView): +class RootView(generics.ListCreateAPIView): """ Example description for OPTIONS. """ @@ -35,7 +35,7 @@ class IntegrationTestPagination(TestCase): def test_get_paginated_root_view(self): """ - GET requests to paginated RootAPIView should return paginated results. + GET requests to paginated ListCreateAPIView should return paginated results. """ request = factory.get('/') response = self.view(request).render() -- cgit v1.2.3