aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/pagination.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/pagination.py')
-rw-r--r--rest_framework/pagination.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py
index f56f55ce..5482788a 100644
--- a/rest_framework/pagination.py
+++ b/rest_framework/pagination.py
@@ -135,13 +135,13 @@ class BasePagination(object):
display_page_controls = False
def paginate_queryset(self, queryset, request, view=None): # pragma: no cover
- raise NotImplemented('paginate_queryset() must be implemented.')
+ raise NotImplementedError('paginate_queryset() must be implemented.')
def get_paginated_response(self, data): # pragma: no cover
- raise NotImplemented('get_paginated_response() must be implemented.')
+ raise NotImplementedError('get_paginated_response() must be implemented.')
def to_html(self): # pragma: no cover
- raise NotImplemented('to_html() must be implemented to display page controls.')
+ raise NotImplementedError('to_html() must be implemented to display page controls.')
class PageNumberPagination(BasePagination):