We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d46ae4 commit 6b1a6e0Copy full SHA for 6b1a6e0
chunkator/__init__.py
@@ -1,19 +1,6 @@
1
"""
2
Toolbox for chunking / slicing querysets
3
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
- )
17
18
19
class MissingPkFieldException(Exception):
0 commit comments