From df5d07ac534ea8a96f6642024b84f95e8b292b68 Mon Sep 17 00:00:00 2001 From: ddelange <14880945+ddelange@users.noreply.github.com> Date: Mon, 20 Mar 2023 08:36:06 +0100 Subject: [PATCH] Lint --- rest_framework/pagination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py index 87926b381..5106008f4 100644 --- a/rest_framework/pagination.py +++ b/rest_framework/pagination.py @@ -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.