Commit Graph

1121 Commits

Author SHA1 Message Date
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
Andrew Graham-Yooll d4f6452ed6
Merge pull request #906 from andrewgy8/remove-python-compatibility-string
Remove python2 compatibility decorator
2019-02-10 09:50:48 +01:00
andrewgy8 20d64f7122 Exlcude python 3.5 with its env var explicitly with django master 2019-02-10 09:44:27 +01:00
andrewgy8 83ee591103 Remove duplicated matrix key 2019-02-10 09:36:21 +01:00
andrewgy8 d3075f3407 Move matrix to child of env 2019-02-10 09:21:19 +01:00
andrewgy8 916b1c4f06 Add exclude to travis matrix for master and 3.5 2019-02-09 21:30:46 +01:00
andrewgy8 f657e000af Remove python2 compatibility decorator 2019-02-09 21:03:36 +01:00
Bojan Mihelac da1c21a780
Merge pull request #865 from bmihelac/fix-864-example-app
fix: Example application does not work (#864)
2019-01-30 15:32:54 +01:00
Andrew Graham-Yooll 0bc2f6d51a
Merge pull request #902 from andrewgy8/postgres-testing-in-travis
Add test matrix for sqlite and postgres testing
2019-01-29 13:42:40 +01:00
Bojan Mihelac 74910545cb chore: fix Imports are incorrectly sorted. 2019-01-28 09:07:55 +01:00
Bojan Mihelac a700b20392
Merge pull request #898 from bmihelac/add-long-description
chore: add package long_description
2019-01-28 08:41:56 +01:00
andrewgy8 f75c47d50f Use global env vars for postgres 2019-01-27 15:56:55 +01:00
andrewgy8 5037fc0639 Used non-fixed id for test.
Database is not torn down after each run, which means that the id is incrementing
2019-01-27 15:42:19 +01:00