class BasePagination
from rest_framework.pagination import BasePagination
Documentation
Source code
Ancestors (MRO)
- BasePagination
Attributes
Defined in | |
---|---|
display_page_controls = False
|
BasePagination |
Methods
def
get_paginated_response(self, data):
¶
BasePagination
def get_paginated_response(self, data): # pragma: no cover
raise NotImplementedError('get_paginated_response() must be implemented.')
def
paginate_queryset(self, queryset, request, view=None):
¶
BasePagination
def paginate_queryset(self, queryset, request, view=None): # pragma: no cover
raise NotImplementedError('paginate_queryset() must be implemented.')
def
to_html(self):
¶
BasePagination
def to_html(self): # pragma: no cover
raise NotImplementedError('to_html() must be implemented to display page controls.')