Upgrade to Django 3.2 (#2056)

This commit is contained in:
Raphael Michel
2021-05-07 12:00:30 +02:00
committed by GitHub
parent 0a7a3537eb
commit 403b8191e4
120 changed files with 1994 additions and 1555 deletions

View File

@@ -19,7 +19,7 @@
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
# <https://www.gnu.org/licenses/>.
#
import collections
import collections.abc
import warnings
from django.core.paginator import (
@@ -86,7 +86,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