mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-19 04:32:28 +03:00
unknown method paginate_queryset_as_qs issue fixed
This commit is contained in:
parent
f2c1929b96
commit
ea079bab3b
|
@ -402,7 +402,7 @@ class LimitOffsetPagination(BasePagination):
|
|||
return queryset[self.offset:self.offset + self.limit]
|
||||
|
||||
def paginate_queryset(self, queryset, request, view=None):
|
||||
return list(paginate_queryset_as_qs(queryset, request, view))
|
||||
return list(self.paginate_queryset_as_qs(queryset, request, view))
|
||||
|
||||
def get_paginated_response(self, data):
|
||||
return Response({
|
||||
|
|
Loading…
Reference in New Issue
Block a user