Commit Graph

1041 Commits

Author SHA1 Message Date
Dan Moore b727584fbe Don't need to support mimetype kwarg to HttpResponse() in >=1.8 2017-11-24 11:01:13 -05:00
Dan Moore 337d5dd4f0 Require Django>=1.8 2017-11-24 09:17:21 -05:00
Dan Moore cb5b0ab741 Remove tox.ini entries for <1.8 2017-11-24 09:16:53 -05:00
Dan Moore 1ac14abd23 Remove catches for DurationFields not being available in <1.8 2017-11-24 09:15:31 -05:00
Dan Moore 2fedbce74c Remove now-redundant check for >1.8 in resource tests. 2017-11-24 09:12:00 -05:00
Dan Moore f000608349 Remove now-redundant check for > 1.8 2017-11-24 09:11:20 -05:00
Dan Moore fbafc31481 Require Django at least Django 1.8
This branch contains some changes that simply won't work with <1.8 anymore.
2017-11-24 09:10:07 -05:00
Dan Moore 25c3b95235 Remove support for get_field_by_name for < 1.8 2017-11-24 09:09:16 -05:00
Dan Moore a8bbfd78e3 Remove RelatedObject fallback for < 1.8 2017-11-24 09:07:02 -05:00
Dan Moore faaa59cbdd Remove ChangeList.query_set fallback for < 1.8 2017-11-24 09:00:04 -05:00
Dan Moore 7c0857596a Remove Django version conditionals around admin_site.each_context 2017-11-24 08:52:47 -05:00
Dan Moore 453823e4b9 Don't test with Django < 1.8. 2017-11-24 08:48:55 -05:00
Bojan Mihelac 70b29bf4b2
Merge pull request #684 from jdufresne/classifiers
Add trove classifiers for all supported Python versions
2017-11-24 14:44:25 +01:00
Bojan Mihelac f47173b422
Merge pull request #636 from jdufresne/clean-twice
Avoid calling Field.clean() unnecessarily twice
2017-11-24 14:36:10 +01:00
Bojan Mihelac 0f5cfc8df2
Merge pull request #631 from jdufresne/ordereddict
Remove workaround for Python 2.6 wrt OrderedDict
2017-11-24 14:35:14 +01:00
Bojan Mihelac 609a2e3954
Merge pull request #629 from jdufresne/pip-cache
Add pip caching support to Travis CI configuration
2017-11-24 14:34:52 +01:00
Bojan Mihelac 2460ff0270
Merge pull request #635 from jdufresne/wheel
Add universal wheel support
2017-11-24 14:34:24 +01:00
Bojan Mihelac 5123975e30
Merge pull request #683 from jdufresne/authors
Add myself to the list of AUTHORS
2017-11-24 14:30:36 +01:00
Jon Dufresne 0d3481a2ee Add trove classifiers for all supported Python versions 2017-11-24 04:57:51 -08:00
Jon Dufresne 0fb44a663f Add universal wheel support
As django-import-export is a pure Python package (no C code), it can be
packaged as a universal wheel. Enable this in setup.cfg. Also configure
zest to build the wheel by default.

For information on using wheels see:

http://pythonwheels.com/

For information on the wheel specification see PEP-0427:

https://www.python.org/dev/peps/pep-0427/

For information on creating wheels with zest see:

https://zestreleaser.readthedocs.io/en/latest/uploading.html#uploading-wheels
2017-11-24 04:51:12 -08:00
Jon Dufresne 27f9c277a1 Add myself to the list of AUTHORS 2017-11-24 04:48:17 -08:00
Jon Dufresne a6d10c6399 Add pip caching support to Travis CI configuration
Helps reduces requests to PyPI.

See TravisCI docs for details on cache:

https://docs.travis-ci.com/user/caching/#pip-cache
2017-11-24 04:46:32 -08:00
Jon Dufresne 038cae69c9 Remove workaround for Python 2.6 wrt OrderedDict
collections.OrderedDict was added to Python starting with 2.7. As
django-import-export only supports Python 2.7+ or Python 3.3+, can
safely rely on the stdlib version of OrderedDict.
2017-11-24 04:46:19 -08:00
Jon Dufresne 3b0948fabb Remove unnecessary calls to dict.keys()
iter(dict) is identical to iter(dict.keys()). The call to .keys() is
unnecessary and only adds noise. Remove these unnecessary calls.

Inspired by Lennart Regebro's presentation "Prehistoric Patterns' at
PyCon 2017. Available at:

https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-11-24 04:46:07 -08:00
Jon Dufresne 52a8c51379 Avoid calling Field.clean() unnecessarily twice 2017-11-24 04:45:33 -08:00
Dan Moore a09c03f5d4 Update documentation copyright date through 2017. 2017-11-23 22:07:37 -05:00
Bojan Mihelac 688034a3e4
Merge pull request #633 from jdufresne/comprehensions
Replace dict(<list_comprehension>) pattern with dict comprehension
2017-11-23 20:59:37 +01:00
Bojan Mihelac 34c16f8666 Back to development: 0.6.1 2017-11-23 08:15:01 +01:00
Bojan Mihelac 66f1f34149 Preparing release 0.6.0 2017-11-23 08:13:22 +01:00
Bojan Mihelac a16900b709 change version to 0.6.0 2017-11-23 08:11:49 +01:00
Bojan Mihelac cf7ce8db63
Merge pull request #679 from mgrdcm/full-0.5.2-changelog
Full 0.5.2 changelog
2017-11-23 08:07:24 +01:00
Dan Moore 705b5f3096 Adding missing PR #s 2017-11-22 15:32:18 -05:00
Dan Moore 4932d6bf69 Adding changelog entries for rest of 0.5.2 changes. 2017-11-22 15:20:17 -05:00
Manel Clos 40e7d6dfb3
add coveralls badge 2017-11-17 10:55:14 +01:00
Manel Clos 0149a05dcb
Merge pull request #678 from django-import-export/coveralls
use coveralls
2017-11-17 10:53:24 +01:00
Bojan Mihelac eabf9f3395
Merge pull request #677 from mgrdcm/remove-downloads-shield
shields.io no longer reports downloads for PyPi.
2017-11-17 10:30:17 +01:00
Manel Clos c28c8b918c omit setup.py 2017-11-17 10:15:37 +01:00
Manel Clos db13b17708 source dir for coverage 2017-11-17 10:03:45 +01:00
Manel Clos 24a61170d2 use coveralls 2017-11-17 09:47:12 +01:00
Dan Moore 806e811f81 shields.io no longer reports downloads for PyPi. 2017-11-16 14:52:55 -05:00
Bojan Mihelac d6615a716b Fixes error introduced in 5af557423b
ManyToManyWidget should strip only string items
2017-11-16 20:41:40 +01:00
Bojan Mihelac 9f69a905f4
Merge pull request #637 from jdufresne/res-warning
Fix all ResourceWarnings during tests
2017-11-16 20:30:12 +01:00
Bojan Mihelac 5af557423b
Merge pull request #668 from raghavsethi/strip
Strip whitespace when looking up ManyToMany fields
2017-11-16 10:19:36 +01:00
Manel Clos d662d336c1
Merge pull request #672 from PetrDlouhy/master
(unfinished) fixes for Django 2.0
2017-11-16 10:08:39 +01:00
Manel Clos 4d743fb5ad
Merge pull request #616 from ad-m/patch-2
Add missing classifiers in setup.py
2017-11-16 10:08:17 +01:00
Manel Clos 4d107c222f
Merge branch 'master' into master 2017-11-16 09:42:44 +01:00
Manel Clos c3b35fd55e
Merge pull request #620 from ad-m/patch-3
Update import of reverse for django 2.x
2017-11-16 09:38:46 +01:00
Bojan Mihelac 9f6cdc1158
Merge pull request #634 from jdufresne/django-req
Add Django as requirement to setup.py
2017-11-16 08:33:12 +01:00
Dan Moore 01609658c9
Merge pull request #553 from bitterjug/patch-1
Make Signals code example format correctly
2017-11-15 22:35:39 -05:00
Manel Clos 8017391a8c
Merge pull request #621 from ad-m/patch-4
Add django 1.11 to TravisCI
2017-11-15 23:47:36 +01:00