mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-23 14:40:06 +03:00
Lint
This commit is contained in:
parent
0f03592711
commit
df5d07ac53
|
@ -634,7 +634,7 @@ class CursorPagination(BasePagination):
|
|||
|
||||
# If some records contain a null for the ordering field, don't lose them.
|
||||
filter_query = Q(**kwargs) | Q(**{order_attr + '__isnull': True})
|
||||
|
||||
|
||||
queryset = queryset.filter(filter_query)
|
||||
|
||||
# If we have an offset cursor then offset the entire page by that amount.
|
||||
|
|
Loading…
Reference in New Issue
Block a user