summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_decimalfield.py
AgeCommit message (Collapse)Author
2026-01-28Fixed #36233 -- Avoided quantizing integers stored in DecimalField on SQLite.Samriddha9619
Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2024-12-09Fixed #35982 -- Made DecimalField.get_db_prep_value() call ↵Tim Graham
DatabaseOperations.adapt_decimalfield_value(). Regression in e9814029f570bd0866dc859147bca90340bcc913. Thanks Simon Charette for advice and review.
2023-05-24Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField ↵David Sanders
values to decimal." This reverts 7990d254b0af158baf827fafbd90fe8e890f23bd. Thanks Marc Odermatt for the report.
2022-08-27Fixed #33954 -- Prevented models.DecimalField from accepting NaN, Inf, and ↵Mohamed Karam
-Inf values.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-28Fixed #33033 -- Prevented models.DecimalField from accepting NaN values.Chinmoy Chakraborty
2020-12-10Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵Hasan Ramezani
failures. Co-authored-by: Tim Graham <timograham@gmail.com>
2020-06-05Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values.Sasha Pachev
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2017-12-12Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the ↵Sergey Fedoseev
fractional part of DecimalField. This reverts commit a146b65628e702a9a3ed5be21542ca45366fbb29 and adds a test for the regression.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-20Removed unused models.DecimalField._format().Sergey Fedoseev
Unused since b3b71a0922334c70bbc646a4873010f808196671.
2017-05-09Fixed #28164 -- Improved float conversions in DecimalField.to_pythonClaude Paroz
Thanks Tim Graham and Adam Johnson for the reviews.
2017-04-29Removed blank line in tests/model_fields/test_decimalfield.py per isort.Tim Graham
2017-04-28Refs #6767 -- Added test for fetching decimal values without rounding error ↵Mariusz Felisiak
on Oracle.
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-04Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz
Thanks Tim Graham for completing the initial patch.
2016-03-23Split model_fields tests into different files.Tim Graham