diff --git a/tests/test_pagination.py b/tests/test_pagination.py index b7633537e..8f9b20a0d 100644 --- a/tests/test_pagination.py +++ b/tests/test_pagination.py @@ -953,6 +953,9 @@ class TestCursorPagination(CursorPaginationTestsMixin): def filter(self, q): q_args = dict(q.deconstruct()[1]) + if not q_args: + # django 3.0.x artifact + q_args = dict(q.deconstruct()[2]) created__gt = q_args.get('created__gt') created__lt = q_args.get('created__lt')