Commit Graph

1133 Commits

Author SHA1 Message Date
Bojan Mihelac 25f709f5de Preparing release 2.0.1 2020-01-15 20:31:15 +01:00
Bojan Mihelac 7b853da745 chore: Preparing release 2.0.1 2020-01-15 20:30:15 +01:00
Manel Clos 669c631016
Merge pull request #1065 from django-import-export/pin-tablib-version-to-not-use-new-major-version
Pin tablib version to not use new major version
2020-01-15 11:10:46 +01:00
Manel Clos 7878169c72 Pin tablib version to not use new major version 2020-01-15 11:06:57 +01:00
Manel Clos bcc2143680
Merge pull request #1063 from lucaspolo/fix-requirements
Pin tablib version to not use new major version
2020-01-15 07:29:55 +01:00
Lucas Polo 7bc39492a3 Pin tablib version to not use new major version 2020-01-13 18:43:47 -03:00
Manel Clos 3f9a430ea3
Merge pull request #1062 from django-import-export/fix-travis
Travis import error: no module named settings
2020-01-13 15:56:06 +01:00
Manel Clos 36ddb6d00c travis import error: no module named settings 2020-01-13 07:19:53 +01:00
MuslimBeibytuly aa9284fac6 Fix deprecated Django 3.0 function usage (#1054)
* Replace force_text -> force_str

* Replace smart_text -> smart_str

* Add Django 3 to Travis CI pipeline
2019-12-30 20:17:48 +01:00
Jimmy Merrild Krag b76c0940a1 Fix #1006 (#1007)
* Remove use of deprecated jQuery functions

Also change `.on('change'` to `.change(` for readability.

* Ensure correct order of media in ExportActionMixin

* Fixed minor bug end forgotten change
2019-12-04 13:15:27 +01:00
Bojan Mihelac 235a83ac40 Back to development: 2.1 2019-12-03 18:22:44 +01:00
Bojan Mihelac bfc9a56b07 chore: fix in README 2019-12-03 18:22:33 +01:00
Bojan Mihelac 00d9ff218a Preparing release 2.0 2019-12-03 18:07:23 +01:00
Bojan Mihelac 2dc4c9bb60 chore: Preparing release 2.0.0 2019-12-03 18:01:55 +01:00
Erwin Junge 3cf5e3f979 Fix Dutch translations (#1024) 2019-10-28 13:01:42 +01:00
Bastien Vallet 98e6fdec81 [django2.2] Add real support of Django 2.2 before 3.0 is out (#1021) 2019-10-24 20:57:04 +02:00
Bastien Vallet 7dabf55887 [py38] Python 3.8 is no longer dev (#1022) 2019-10-24 20:56:12 +02:00
Bojan Mihelac 4589d4c40b fix: DateTimeWidget not timezone sensitive (#813) (#943)
BREAKING CHANGE: previously datetime fields where not exported in
regards to default timezone

fixes: #942, #813
2019-10-11 07:35:37 +02:00
nodarai d75c381d7b Add missing space to description (#1015)
The package description is currently show as `Django application and library for importing and exportingdata with included admin integration.`
2019-10-09 17:11:22 +02:00
lorenzomorandini 52c69fef47 Move actions definition to ExportActionMixin (#992)
* Add support to django 2.2:
new way of handling admin actions

* Move actions definition to ExportActionMixin
2019-10-09 08:47:13 +02:00
Özcan Yarımdunya 01c12aee99 Add language support: Turkish (#1013) 2019-10-09 08:33:09 +02:00
Jimmy Merrild Krag 7bb9344954 Fix exception import for Django 3 (#1010) 2019-10-08 10:02:46 +02:00
Andy Babic b12154dfb7 Fix potential header / row column mismatches for invalid rows in… (#995)
* Ensure the order of values for InvalidRow matches the order of diff_headers (which are used as column headers in the UI)

* Not that it affects the results, but InvalidRow tests should at least set a value of the correct type to avoid confusion

* Extend existing test to show that diff_header and InvalidRow.values match up
2019-09-26 11:28:38 +02:00
Andy Babic 86fe75a76f Assume user is importing new data if id fields not included (#996)
* Alter Resource.get_instance() to always return None if id values are not provided

* Update tests
2019-09-18 17:23:40 +02:00
Kamil Sokołowski 141932b751 Fix bug with spaces in export filename, pass request and queryset (#980) 2019-08-20 08:53:42 +02:00
Bojan Mihelac 6f462d7914
Merge pull request #979 from minho42/Fix-typos
Fix typos in docs and comments
2019-07-30 08:29:09 +02:00
Min ho Kim 2d2a6e7ef2 Fix typos 2019-07-30 07:42:21 +10:00
Adam Dobrawy 9e0fc18cb2 Simplify Django version in TravisCI (#970) 2019-07-24 08:26:49 +02:00
Bojan Mihelac 52f0a1fc09
Merge pull request #966 from andrewgy8/bump-stale-bot-time
Bump stale bot time to half a year
2019-07-02 10:15:41 +02:00
andrewgy8 d219e24d5c bump stale bot time 2019-07-02 08:20:17 +02:00
Mehdi Pourfar 3c082f98af Align error in rtl mode (#954) 2019-05-20 08:06:22 +02:00
Bram Janssen 2e8ba64bf4 Add dutch translations (#951)
* Added dutch translations

* compiled dutch messages
2019-05-19 09:41:22 +02:00
Andrew Graham-Yooll 874ede90bd
Add 3.8-dev to travis ci (#926) 2019-05-14 17:26:00 +02:00
Zach Cheung 834e8c954e Fix style in getting_started docs (#952)
* getting_started docs: fix style

* getting_started docs: remove blank line with spaces
2019-05-14 10:12:05 +02:00
YPCrumble 4861da8687 Update documentation to show that mixins must be referenced before admin.ModelAdmin. (#946)
Fixes #715
2019-05-06 15:50:12 +02:00
Patrick 127f00d03f Complete example for admin integration (#937)
Added a few more lines so the Admin integration shows all the code you'd need.
2019-04-04 08:52:20 +02:00
Dr. Shubham Dipt fe491d8af6 JSONWidget updated with null value fix (#928) 2019-03-25 07:57:05 +01:00
adibo a719baf4d7 Import rows have background color (#929)
* bg colors added
2019-03-23 08:53:45 +01:00
adibo 77816e4e6e Use resource get_queryset in ModelInstanceLoader (#920)
* use queryset from resource
2019-03-11 08:31:15 +01:00
Jon Dufresne 5706382502 Simplify coerce to text type (#887)
Avoid unnecessary string formatting, just call the text function
instead.
2019-03-09 07:15:51 +01:00
adibo f062d38922 More flexibility in ConfirmImportForm, forms and resource kwargs (#893)
* forms and resource kwargs customization hooks
* method name aligned
* docstrings unified
* test added
2019-03-04 15:16:51 +01:00
Andrew Graham-Yooll 08698a0bd4
Add JSON B type field mapping (#904)
* Add json type to postgres db export.
Use json type field when resource has it defined.

* Add test for importing jsonb data

* Test the importation of array field

* Linting.
Remove uncessary setup method

* Remove potential non-backwards compatible change

* Update doc string.
Update changelog
2019-02-25 08:58:28 +01:00
Andrew Graham-Yooll 07bfece843
Scale back stale bot's time-to-stale (#918)
* Scale back stale bots time to stale

* Clean up the issue an PR templates
2019-02-25 08:57:38 +01:00
Bojan Mihelac 86a2912da3
Merge pull request #897 from bmihelac/add-wheel
chore: add python wheels to dev requirements (#890)
2019-02-20 20:57:20 +01:00
Bojan Mihelac 3d65c2dae4
Merge pull request #915 from bmihelac/andrewgy8-mysql-testing-in-pipeline
Add mysql to travis
2019-02-20 09:06:18 +01:00
Bojan Mihelac b6fe89adfa test: explicitly order qs in ManyToManyWidget 2019-02-20 08:22:36 +01:00
andrewgy8 9965c4e8dd Add mysql to travis 2019-02-19 17:01:26 +01:00
Timothy Hobbs 1298aff96a Expand doc strings to include Mixin superclasses (#914) 2019-02-16 10:27:04 +01:00
Andrew Graham-Yooll 2795471cfe
Stale file should not be hidden (#908) 2019-02-10 11:54:32 +01:00
Andrew Graham-Yooll 5889037976
Stale bot configuration (#907) 2019-02-10 10:36:16 +01:00