Commit Graph

1006 Commits

Author SHA1 Message Date
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
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
Kunal Khandelwal 2e9195f953 added test for tsv import 2018-06-25 18:03:18 +05:30
Kunal Khandelwal 5a7c35518b added unicode support for TSV for pytjhon 2 2018-06-25 17:12:59 +05:30
Anthony Monthe 9696733fd1 Renamed tests (#782) 2018-06-07 11:26:39 +02:00
nikolas 2d662fc2fe docs: use new print syntax in getting started guide (#786) 2018-06-01 09:45:39 +02:00
Anthony Monthe edc18e7653 Added ExportViewMixin (#692)
* Created ExportViewMixin

* Added ExportViewMixin tests

Added VIM files to .gitignore

Django<1.9 fix

Django 2.0 Fix

Splitted View behaviors

Added ExportMixinView
2018-05-31 18:56:56 +02:00
Bojan Mihelac 65416fbcef Back to development: 1.0.2 2018-05-17 16:53:54 +02:00
Bojan Mihelac 57ff0f5766 Preparing release 1.0.1 2018-05-17 16:50:23 +02:00
Bojan Mihelac 14bfc4f6cd Merge branch 'master' of https://github.com/django-import-export/django-import-export 2018-05-17 16:47:24 +02:00
Bojan Mihelac 00d9b18a1a Update changelog 2018-05-17 16:46:01 +02:00
Bojan Mihelac 96af19925d
Update AUTHORS 2018-05-17 16:38:17 +02:00
Andrei Loskutov 7045e39425 Make deep copy of fileds from class attr to instance attr (#550)
* Make deep copy of fileds from class attr to instance attr

The fields resource class attribute is the *class-wide* definition of
fields. Because a particular *instance* of the class might want to
alter self.fields, we create self.fields here by copying cls.fields.
Instances should always modify self.fields; they should not modify
cls.fields.

* Update test for resource fields

Test checks that resource instance *fields* attr doesn't refer to attr *fields* of resource class
2018-05-17 16:37:46 +02:00
Bojan Mihelac 8562268e0f
Update AUTHORS 2018-05-17 16:29:14 +02:00
KenyaDonDraper 748a460366 Fix #612: NumberWidget.is_empty() should strip the value if string type (#613)
* Strip the value (if string type) before the boolean check in NumberWidget.is_empty() - see #612
* Add tests for cleaning empty string for NumberWidgets - see #612
2018-05-17 16:28:48 +02:00
Bojan Mihelac 0cb2a11d11
Update AUTHORS 2018-05-17 16:19:15 +02:00
Bojan Mihelac 0cfaabb1a5 Merge branch 'pacotole-fix-orderby' 2018-05-17 16:17:39 +02:00
Bojan Mihelac 91561b8176 Merge branch 'fix-orderby' of https://github.com/pacotole/django-import-export into pacotole-fix-orderby 2018-05-17 16:15:56 +02:00
Bojan Mihelac b7c73f4df0
Update AUTHORS 2018-05-17 16:11:00 +02:00
Bojan Mihelac eddcacf21a
Fix #713: last day isn't included in results qs (#779) 2018-05-17 16:09:54 +02:00
Bojan Mihelac 64928f7c42
use Python3 compatible MySql driver in development (#706)
https://docs.djangoproject.com/en/2.0/ref/databases/#mysql-db-api-drivers
2018-05-17 15:54:38 +02:00
Bojan Mihelac d859f6c900
Update AUTHORS 2018-05-17 15:39:22 +02:00
lorenzomorandini 2acba19b76 fix: warning U mode is deprecated in python 3 (#776) 2018-05-17 15:38:14 +02:00
Bojan Mihelac 5cb7e38d15
Update AUTHORS 2018-05-17 15:36:40 +02:00
dfirst 87b0189080 refactor: easier overridding widgets and default field (#769)
make default resource field as resource class attr, add resource widgets map
2018-05-17 15:36:15 +02:00
Bojan Mihelac 28bbb4e9cb
Update AUTHORS 2018-05-17 15:21:15 +02:00
Bojan Mihelac 2502584fde
Merge pull request #735 from gelbander/doc-declaring-fields
Updated documentation regardign declaring fields.
2018-05-17 15:20:22 +02:00
Bojan Mihelac 68a3e71692
Merge pull request #738 from bmihelac/add-coc
Add Code of Conduct
2018-05-17 10:23:59 +02:00
Bojan Mihelac df2060d091
fix: typo 2018-05-16 16:14:33 +02:00
Bojan Mihelac 657b7d72b3
Merge pull request #771 from jdufresne/pyreq
Pass python_requires argument to setuptools
2018-04-17 08:22:19 +02:00
Jon Dufresne c27f8b3147 Pass python_requires argument to setuptools
Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-04-12 03:27:21 -07:00
Bojan Mihelac 7645954f24
Update AUTHORS 2018-03-01 09:57:05 +01:00
Bojan Mihelac df5ef198c2
Update changelog.rst 2018-03-01 09:56:23 +01:00
Bojan Mihelac 5940bf5395
Merge pull request #719 from frnhr/action_form_on_grappelli
custom js for action form also handles grappelli
2018-03-01 09:55:38 +01:00
Bojan Mihelac a279f3c2df
Update changelog.rst 2018-03-01 09:19:39 +01:00
Bojan Mihelac 16af9fd033
Merge pull request #732 from mgrdcm/app_label
Use 'verbose_name' in breadcrumbs to match Django default.
2018-03-01 09:19:15 +01:00
Bojan Mihelac 63b45c1fec
Update changelog.rst 2018-03-01 09:06:52 +01:00