more stuff

This commit is contained in:
Raphael Michel
2021-03-11 23:11:31 +01:00
parent cffcddaf26
commit 40018b0937
8 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import collections
import collections.abc
import warnings
from django.core.paginator import (
@@ -65,7 +65,7 @@ class PaginationMixin:
return ctx
class LargeResultSetPage(collections.Sequence):
class LargeResultSetPage(collections.abc.Sequence):
def __init__(self, object_list, number, paginator):
self.object_list = object_list