Commit Graph

985 Commits

Author SHA1 Message Date
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
Bojan Mihelac ce344efb0f
Merge pull request #746 from kimetrica/745-custom-diff-classes
Add Resource.get_diff_class() - fixes #745
2018-03-01 09:06:33 +01:00
Bojan Mihelac ec21f44e71
Update changelog.rst 2018-03-01 09:01:40 +01:00
Marcin Popławski 4d3c9f22d3 Fix and add polish translation (#747) 2018-03-01 09:01:23 +01:00
Bojan Mihelac d40eb54e89
Update changelog.rst 2018-03-01 08:58:55 +01:00
Bojan Mihelac e1fd702fa1
Merge pull request #749 from kimetrica/add_before_import_raise_errors
Restore raise_errors to before_import
2018-03-01 08:58:19 +01:00
Roger Hunwicks b6d9d32b90 Restore raise_errors to before_import - see #399 2018-02-27 08:34:56 +02:00
Roger Hunwicks 33fd5e9052 Add Resource.get_diff_class() - fixes #745 2018-02-22 18:45:06 +02:00
Manel Clos 158a1064e8
Merge pull request #743 from GregKaleka/patch-1
Edit docblock for ForeignKeyWidget
2018-02-21 17:23:53 +01:00
Greg Kaleka 1f0a3f0e5a
Edit docblock for ForeignKeyWidget
Adds import statements to the example in the ForeignKeyWidget docblock.
2018-02-20 13:09:57 -08:00
Bojan Mihelac 56603f5684 chore: add Django 1.11 to tox config 2018-02-14 08:08:09 +01:00
Bojan Mihelac a1f5598683 Add Code of Conduct 2018-02-13 10:13:51 +01:00
Bojan Mihelac bddd494503 Back to development: 1.0.1 2018-02-13 09:49:47 +01:00
Bojan Mihelac 690f126e57 Preparing release 1.0.0 2018-02-13 09:49:01 +01:00
Bojan Mihelac 3b9be417e0 Update changelog for 1.0.0 2018-02-13 09:48:40 +01:00
Bojan Mihelac ddc15271d7
Merge pull request #737 from bmihelac/upgrade-tox-config
Upgrade tox configuration
2018-02-13 09:42:31 +01:00
Bojan Mihelac 50227131fd Upgrade tox configuration
Add supported Django versions
Add supported python versions
Use openpyxl==2.4.11 as 2.5.x drops support for python 3.3
2018-02-06 21:17:24 +01:00
Bojan Mihelac 5794ab8fbb Update next release in CHANGELOG 2018-02-06 17:53:37 +01:00
Bojan Mihelac e6d9be730b Merge branch 'mgrdcm-require-django-1-8' 2018-02-06 17:50:28 +01:00
Gustaf Elbander 9b69dbf88d Updated documentation regardign declaring fields. 2018-01-29 15:24:37 +01:00
Dan Moore 4db2615059 Use 'verbose_name' in breadcrumbs to match Django default. 2018-01-28 00:11:47 -05:00
Dan Moore 87afec415b Merge branch 'master' of https://github.com/django-import-export/django-import-export into require-django-1-8 2018-01-27 23:47:59 -05:00