diff options
| author | Tom Christie | 2012-10-03 09:26:15 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-03 09:26:15 +0100 | 
| commit | c30e0795bebd9980a66ae7db1a0d8c43f77d4c11 (patch) | |
| tree | 8b8dee7c7b15dd21fad9358cd97f274df4801527 /rest_framework/tests/pagination.py | |
| parent | d1b99f350aded62fe480f7dc4749cd63d52715d2 (diff) | |
| download | django-rest-framework-c30e0795bebd9980a66ae7db1a0d8c43f77d4c11.tar.bz2 | |
Rename generic views
Diffstat (limited to 'rest_framework/tests/pagination.py')
| -rw-r--r-- | rest_framework/tests/pagination.py | 4 | 
1 files changed, 2 insertions, 2 deletions
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()  | 
