Commit Graph
370 Commits
Author SHA1 Message Date
tudorvaran f807212cf3 Fix callable default usage in admin forms 2020-04-28 18:31:15 +03:00
Swen Kooij 74c119d32a Bump version number to 6.0b4 2020-03-10 13:15:22 +02:00
Alexandru ArnăutuandGitHub 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ăutuandGitHub 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 KooijandGitHub 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 KooijandGitHub 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
Swen Kooij 0f3ab6af7a Add more keywords 2019-10-19 14:08:25 +03:00
Swen Kooij 71cdeef7a3 Run tests against python 3.8 2019-10-19 14:06:01 +03:00
Swen Kooij 90d2e1fc57 Rename lint job to analysis 2019-10-19 13:13:59 +03:00
Swen Kooij e56a0697b3 Add back dj-database-url, need it for CI 2019-10-19 13:12:52 +03:00
Swen Kooij 19f0ddb336 Fix some flake8/pycodestyle issues 2019-10-19 13:04:53 +03:00
Swen Kooij 2f7314d105 Put requirements in setup.py 2019-10-19 12:51:51 +03:00
Swen Kooij 2cb80431cc Use pytest for running tests 2019-10-19 12:48:32 +03:00
Swen Kooij 7cdd1f4490 Re-format all files 2019-10-19 12:44:41 +03:00
Swen Kooij 4ee1a5f487 Set up setup.py commands for auto formatting and linting 2019-10-19 12:41:06 +03:00
Swen Kooij eb2d166dbe Set up configs for flake8, pep8, black and doc strings formatter 2019-10-19 12:40:19 +03:00
Swen Kooij 76098141e9 Set up dependencies for auto formatting etc 2019-10-19 12:40:16 +03:00
Swen Kooij 3c9251b45a Remove dependency on dj_database_url 2019-10-19 12:33:09 +03:00