Commit Graph

1041 Commits

Author SHA1 Message Date
Thomas NOËL bd7e81a62f debian: add python3 dependancies 2020-04-15 18:32:09 +02:00
Benjamin Dauvergne 6fc09e500d debian packaging 2020-04-02 17:05:56 +02:00
Bojan Mihelac 5cfbfe5b83 Preparing release 1.2.0 2019-01-10 08:36:01 +01:00
Bojan Mihelac 1a71653b66 chore: update Changelog 2019-01-10 08:34:54 +01:00
Bojan Mihelac 596a4f5b54 refactor: do not use mutable arguments 2018-12-03 16:06:26 +01:00
Bojan Mihelac cd28fd0fe4
Update AUTHORS 2018-12-03 15:26:59 +01:00
Andy Babic bd5ce92d05 feat: Better surfacing of validation errors in UI / optional model
instance validationA (#852)

Fixes: #64, #176, #415, #601
2018-12-03 15:24:04 +01:00
Bojan Mihelac 5e8d5be9ff Merge branch 'jdufresne-memory' 2018-11-05 09:08:28 +01:00
Bojan Mihelac 67bb2ca6f8 Merge branch 'memory' of https://github.com/jdufresne/django-import-export into jdufresne-memory 2018-11-05 09:08:05 +01:00
Bojan Mihelac 7973d31ac5
Merge pull request #854 from jdufresne/doc-py
Document support for modern Django & Python versions
2018-11-05 09:06:34 +01:00
Bojan Mihelac ec76a028b9
Merge pull request #855 from jdufresne/unpin
Unpin test requirements to ensure compatibility with latest releases
2018-11-05 09:05:57 +01:00
Bojan Mihelac 2c1b1cddf6
Merge pull request #856 from jdufresne/simplify
Simplify TMP_STORAGE_CLASS importing
2018-11-05 09:05:33 +01:00
Bojan Mihelac baa65746bb
Merge branch 'master' into simplify 2018-11-05 09:05:13 +01:00
Bojan Mihelac dfa80579e4
Merge pull request #857 from jdufresne/all-pythons
Remove workaround for older Pythons
2018-11-05 09:04:00 +01:00
Bojan Mihelac 31b793dc64
Merge pull request #858 from jdufresne/all-dj
Remove workaround for older unsupported Djangos
2018-11-05 09:03:38 +01:00
Bojan Mihelac eef0922e39
Merge branch 'master' into all-dj 2018-11-05 09:03:19 +01:00
Bojan Mihelac d730bdd0cd
Merge pull request #859 from jdufresne/dict
Remove outdated workaround for OrderedDict
2018-11-05 09:00:02 +01:00
Bojan Mihelac dc4d6d5c05
Merge pull request #860 from jdufresne/ws
Trim trailing white space throughout the project
2018-11-05 08:59:38 +01:00
Bojan Mihelac 61d253d0ed
Merge pull request #861 from jdufresne/unused-import
Clean up unused imports
2018-11-05 08:59:12 +01:00
Jon Dufresne b1278800cb Use modern setuptools in setup.py (#862)
As recommended by Python docs, use setuptools not distutils. See:

https://docs.python.org/3/library/distutils.html

> Most Python users will not want to use this module directly, but
> instead use the cross-version tools maintained by the Python Packaging
> Authority. In particular, setuptools is an enhanced alternative to
> distutils ...

setuptools is necessary for features like python_requires.
2018-11-05 08:58:46 +01:00
Jon Dufresne 9df6d8d66d Update URLs to use https:// (#863) 2018-11-05 08:57:43 +01:00
Jon Dufresne c8daa20c7e Clean up unused imports 2018-11-04 17:28:57 -08:00
Jon Dufresne f84f3d486f Trim trailing white space throughout the project
Many editors clean up trailing white space on save. By removing it all
in one go, it helps keep future diffs cleaner by avoiding spurious white
space changes on unrelated lines.
2018-11-04 17:20:26 -08:00
Jon Dufresne b0d65cfdaf Remove outdated workaround for OrderedDict
collections.OrderedDict is available on all supported Pythons
2018-11-04 17:15:57 -08:00
Jon Dufresne 5180a422a5 Remove workaround for older unsupported Djangos
django.utils.encoding.force_text is available on all supported Djangos.
Can remove workaround to simplify the imports.
2018-11-04 17:09:42 -08:00
Jon Dufresne 6ae408c276 Remove workaround for older Pythons
importlib.import_module is available since Python 2.7.
2018-11-04 16:52:54 -08:00
Jon Dufresne 3746b20348 Simplify TMP_STORAGE_CLASS importing
Reuse Django's import_string(); avoid reimplementing it.
2018-11-04 16:47:48 -08:00
Jon Dufresne aaad5608dc Unpin test requirements to ensure compatibility with latest releases 2018-11-04 16:40:19 -08:00
Jon Dufresne a07550c85f Document support for modern Django & Python versions 2018-11-04 16:29:38 -08:00
Jon Dufresne 4f6f03074d Run SQLite tests with in-memory database
Using an in-memory datbase is faster and doesn't require storing a large
binary file in the repository.
2018-11-04 16:24:54 -08:00
Bojan Mihelac ec568b5ad9
Update AUTHORS 2018-10-05 08:32:30 +02:00
Ania Warzecha c4c0664418 fix: Change logging level (#832) 2018-10-05 08:31:53 +02:00
Bojan Mihelac 55e96c3d82
Merge pull request #842 from akulakov/patch-1
Changed `get_instance()` return val
2018-10-02 09:36:52 +02:00
Bojan Mihelac e3ba54249f Back to development: 1.1.1 2018-10-02 09:26:28 +02:00
Bojan Mihelac 9ded69edb1 Preparing release 1.1.0 2018-10-02 09:26:01 +02:00
Bojan Mihelac 7a86bf8366 setup: add Django 2.1 to CI, test stable tablib 2018-10-02 09:04:20 +02:00
Bojan Mihelac 4b4bcfdb75 chore: update changelog 2018-10-02 08:18:12 +02:00
andrei kulakov 0648e2a554
Changed `get_instance()` return val
When `import_id_fields` is empty, `get_instance()` should return None. Previously it would return an object if queryset contained a single object -- qs.get() with no args returns an obj for queryset of length=1.
2018-09-25 12:30:26 -04:00
Bojan Mihelac 54232db4a5
fix: Django2.1 ImportExportModelAdmin export (#797) (#819) 2018-08-09 14:43:39 +02:00
Bojan Mihelac 8f87b5aed4 setup: add django2.1 to test matrix 2018-08-07 16:52:10 +02:00
Dr. Shubham Dipt 9007be3910 JSONWidget for jsonb fields (#803)
* Update Widgets.py with JSONWidget

JSONWidget can be helpful in all the cases where jsonb is saved in the PostgreSQL database.

* Update api_widgets.rst

* Added tests for JSONWidget
2018-07-20 09:36:54 +02:00
Christophe Baldy 2180b14944 Add ExportActionMixin (#809)
Transform the ExportActionModelAdmin class into a Mixin
2018-07-20 09:30:10 +02:00
Fata Nugraha e633f9deb1 Add Import Export Permissioning #608 (#804)
* Add safeguard permission to admin

* remove button if not authorized

* Add Author

* fix tests

* add more tests

* Update docs
2018-07-20 09:28:15 +02:00
Toivo Mattila 816b49c23a write_to_tmp_storage() for import_action() (#781)
* Function to handle writing data for import_action
* Updated AUTHORS
2018-06-28 14:46:23 +02:00
Bojan Mihelac 9dceba914e
Merge pull request #798 from django-import-export/issue-792
follow relationships on ForeignKeyWidget
2018-06-28 14:05:20 +02:00
Manel Clos 622a625387 follow relationships on ForeignKeyWidget 2018-06-28 11:12:33 +02:00
Bojan Mihelac 420651ffb0
Update AUTHORS 2018-06-27 09:02:20 +02:00
Bojan Mihelac 9978865dc4
Merge pull request #794 from kunal15595/develop
added unicode support for TSV for python 2
2018-06-27 09:01:51 +02:00
Bojan Mihelac e60e065469
Merge pull request #795 from jdufresne/pypi
Update all pypi.python.org URLs to pypi.org
2018-06-27 08:23:09 +02:00
Jon Dufresne a2a8199f03 Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-06-25 06:46:00 -07:00