mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-23 22:49:50 +03:00
Store request in CursorPagination field
This commit is contained in:
parent
d5f228dd00
commit
76eaac472c
|
@ -603,6 +603,7 @@ class CursorPagination(BasePagination):
|
|||
if not self.page_size:
|
||||
return None
|
||||
|
||||
self.request = request
|
||||
self.base_url = request.build_absolute_uri()
|
||||
self.ordering = self.get_ordering(request, queryset, view)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user