Skip to content

Commit 6b1a6e0

Browse files
committed
fixup! refs #15 -- drop Django 1.6 / 1.7 support
1 parent 1d46ae4 commit 6b1a6e0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

chunkator/__init__.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
"""
22
Toolbox for chunking / slicing querysets
33
"""
4-
import warnings
5-
6-
from distutils.version import StrictVersion
7-
import django
8-
9-
if StrictVersion(django.get_version()) < StrictVersion('1.8.0'):
10-
with warnings.catch_warnings():
11-
# This will force the warning to be triggered.
12-
warnings.simplefilter("always")
13-
warnings.warn(
14-
"Django 1.7 and lower versions will soon be deprecated. Please upgrade.", # noqa
15-
PendingDeprecationWarning
16-
)
174

185

196
class MissingPkFieldException(Exception):

0 commit comments

Comments
 (0)