File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 22
33## master (unreleased)
44
5+ ** Warning** : this version will be the last to support Django 1.6 or 1.7. Starting of the next version, we'll only support 1.8+.
6+
57- Added Django 1.9 support (#9 ).
68- Python 3.4 jobs are being tested in travis (#10 ).
9+ - Deprecate Django 1.6 and 1.7 support (#9 ).
710
811## 1.0.0 (2016-06-23)
912
Original file line number Diff line number Diff line change 11"""
22Toolbox 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+ warnings .warn (
11+ "Django 1.7 and lower versions will soon be deprecated. Please upgrade." , # noqa
12+ DeprecationWarning
13+ )
414
515
616class MissingPkFieldException (Exception ):
You can’t perform that action at this time.
0 commit comments