Skip to content

Commit 5cc0930

Browse files
authored
Merge pull request photocrowd#40 from jaap3/patch-1
Only import Sequence from collections.abc
2 parents f560902 + bc1266c commit 5cc0930

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cursor_pagination.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
from base64 import b64decode, b64encode
2-
try:
3-
from collections.abc import Sequence
4-
except ImportError:
5-
from collections import Sequence
2+
from collections.abc import Sequence
63

74
from django.db.models import Field, Func, Value, TextField
85
from django.utils.translation import gettext_lazy as _

0 commit comments

Comments
 (0)