382 Commits

Author SHA1 Message Date
Swen Kooij
9f99e2cdb0 Declare support for Python 3.9 and Django 3.1 in README 2020-10-07 11:53:10 +03:00
Swen Kooij
da7e39c071 Set junit_family=legacy to keep the same coverage report 2020-10-07 11:52:24 +03:00
Swen Kooij
5a9ff191d4 Use force_str() over force_text()
force_text() is going to be removed in Django 4.0
It's just an alias for now.
2020-10-07 11:52:24 +03:00
Swen Kooij
c06d09f7d8 Run tests against Django 3.1 2020-10-07 11:52:22 +03:00
Swen Kooij
fd2d85064f Run tests against officially released Python 3.9 2020-10-07 11:47:59 +03:00
Swen Kooij
44aefb4e0b Bump version number to 6.0b5 2020-04-29 12:58:49 +03:00
Swen Kooij
f982eac7d8
Merge pull request #85 from SectorLabs/default-callables-admin-form
Fix callable default usage in admin forms
2020-04-29 12:53:13 +03:00
Swen Kooij
f775883790
Merge pull request #83 from belkka/patch-1
Fix dead link to django-postgres-extra docs
2020-04-29 12:52:15 +03:00
tudorvaran
7f48903137 Change from docstring comment to normal 2020-04-29 12:16:25 +03:00
tudorvaran
3bf4435622 Disable show_hidden_initial for localized forms 2020-04-28 21:23:03 +03:00
tudorvaran
77e8807876 Revert "Fix callable default usage in admin forms"
This reverts commit f807212c
2020-04-28 21:16:15 +03:00
tudorvaran
f807212cf3 Fix callable default usage in admin forms 2020-04-28 18:31:15 +03:00
belkka
dbd337520e
Fix dead link to django-postgres-extra docs 2020-03-30 15:43:13 +03:00
Swen Kooij
74c119d32a Bump version number to 6.0b4 2020-03-10 13:15:22 +02:00
Alexandru Arnăutu
36a2dda2b1
Add support for FloatField on v6 (#81)
* Add LocalizedFloatValue

* Add LocalizedFloatField

* Add tests for float field

* Create LocalizedNumericValue with __int__ and __float__ methods

* Format and lint code
2020-03-10 12:49:46 +02:00
Alexandru Arnăutu
98330ad38c
Update README.md (#82) 2020-03-10 12:49:35 +02:00
Alexandru Arnautu
8968b0c7a8
Format and lint code 2020-03-10 09:33:34 +02:00
Alexandru Arnautu
5e1d46669c Create LocalizedNumericValue with __int__ and __float__ methods 2020-03-10 09:28:52 +02:00
Alexandru Arnautu
0f1d6636f6 Add tests for float field 2020-03-10 09:27:42 +02:00
Alexandru Arnautu
5ed1a1219d Add LocalizedFloatField 2020-03-10 09:27:31 +02:00
Alexandru Arnautu
0d9ec6385c Add LocalizedFloatValue 2020-03-10 09:26:00 +02:00
Swen Kooij
21a42a383c Bump version number to 6.0b3 2020-02-17 12:58:42 +02:00
Swen Kooij
701114c20e
Merge pull request #78 from SectorLabs/default-values-callables
Accept callables as values in fields
2020-02-17 12:58:02 +02:00
tudorvaran
bc63c57598 LocalizedIntegerField not LocalizedIntegerValue 2020-02-12 17:11:14 +02:00
tudorvaran
905bfd4353 Format with black 2020-02-12 17:05:17 +02:00
tudorvaran
a9a5add303 Manual code format 2020-02-12 16:55:39 +02:00
tudorvaran
598b8ca65e Add test 2020-02-12 16:51:34 +02:00
tudorvaran
47367da401 Accept callables as values in fields 2020-02-12 16:37:44 +02:00
Swen Kooij
fbaef6e1ac Add missing long_description_content_type to setup.py 2020-01-06 17:15:37 +01:00
Swen Kooij
49d88af76a Python 3.6, 3.9 and Django 3.0 compatibility 2020-01-06 16:51:30 +01:00
Swen Kooij
53d7cd0c66
Merge pull request #74 from jar3b/django-30-support
Django 3.0 support
2020-01-06 16:44:59 +01:00
jar3b
311843f647 feat: add django 3.0 support in tests and readme 2019-12-15 01:17:56 +03:00
jar3b
769066a461 fix: remove django.utils.six import and usage due to Django 3.0 dropped support for it 2019-12-14 23:12:01 +03:00
Swen Kooij
e5ea632f24 Fix typo in the constraints docs 2019-10-21 17:39:02 +03:00
Swen Kooij
801fa477f1 Remove admin widget image (is in docs now) 2019-10-20 18:29:49 +03:00
Swen Kooij
7c6d3b026d Ensure release is not compatible with django-postgres-extra 3.0 2019-10-20 18:12:20 +03:00
Swen Kooij
65d0811995 Store tests results for python 3.8 job 2019-10-20 18:10:21 +03:00
Swen Kooij
92b1dce239 Set LOCALIZED_FIELDS_EXPERIMENTAL to True by default 2019-10-20 18:05:06 +03:00
Swen Kooij
2bcab4d83a Always run tests against python 3.8 2019-10-20 18:02:58 +03:00
Swen Kooij
82a6efcffe Update links to RTD pages in README 2019-10-20 17:55:51 +03:00
Swen Kooij
a8549d6ad3 Ignore pip-wheel-metadata dir 2019-10-20 17:55:00 +03:00
Swen Kooij
7d4e40647a Update example database URL in README 2019-10-20 17:55:00 +03:00
Swen Kooij
4a81363853 django_bleach is a known third party library 2019-10-20 17:54:57 +03:00
Swen Kooij
e6ce2da161 Replace README with Markdown version 2019-10-20 17:48:49 +03:00
Swen Kooij
3bf7926c57 Split analysis and test dependencies 2019-10-20 17:48:03 +03:00
Swen Kooij
8c78e5f978 Add readthedocs config 2019-10-20 17:23:26 +03:00
Swen Kooij
cdf1831d35 Add sphinx based docs 2019-10-20 17:11:33 +03:00
Swen Kooij
7bf0311306 Add a language argument to LocalizedValue.translate(..) 2019-10-20 16:49:33 +03:00
Swen Kooij
e5dcc1b492 Fix #72: LocalizedIntegerField should sort numerically, not lexicographically 2019-10-19 15:48:29 +03:00
Swen Kooij
696050cf6b Fix warning in tests because test class is prefixed with Test 2019-10-19 14:11:41 +03:00