MS
Size: a a a
MS
D
class Pagination(PageNumberPagination):
def get_paginated_response(self, data):
return Response({
'current_page': 1,
'last_page': 3,
'next_page_url': self.get_next_link(),
'pre_page_url': self.get_previous_link(),
'count': self.page.paginator.count,
'data': data
})
DT
D
DT
PB
DT
DT
D
DT
D
DT
D
D
DT
DT
D
EM
EM