Skip to content

Commit

Permalink
fixup! refs #15 -- drop Django 1.6 / 1.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobord committed Aug 26, 2016
1 parent 1d46ae4 commit 6b1a6e0
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions chunkator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
"""
Toolbox for chunking / slicing querysets
"""
import warnings

from distutils.version import StrictVersion
import django

if StrictVersion(django.get_version()) < StrictVersion('1.8.0'):
with warnings.catch_warnings():
# This will force the warning to be triggered.
warnings.simplefilter("always")
warnings.warn(
"Django 1.7 and lower versions will soon be deprecated. Please upgrade.", # noqa
PendingDeprecationWarning
)


class MissingPkFieldException(Exception):
Expand Down

0 comments on commit 6b1a6e0

Please sign in to comment.