diff options
| author | yakimka <ss.yakim@gmail.com> | 2021-07-15 21:27:59 +0300 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2021-07-21 10:20:24 +0200 |
| commit | c542d0a07237033225c1d57337ca9474a00648f2 (patch) | |
| tree | 083bb7ff680851562b285df3ffd110900c492513 /docs | |
| parent | fd999318ad78613227cdb7c5656345d9e216802b (diff) | |
Fixed #32949 -- Restored invalid number handling in DecimalField.validate().
DecimalField must itself validate() values, such as NaN, which cannot be
passed to validators, such as MaxValueValidator, during the
run_validators() phase.
Regression in cc3d24d7d577f174937a0744d886c4c7123cfa85.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.2.6.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/3.2.6.txt b/docs/releases/3.2.6.txt index 426b9c6797..222e169901 100644 --- a/docs/releases/3.2.6.txt +++ b/docs/releases/3.2.6.txt @@ -9,4 +9,6 @@ Django 3.2.6 fixes several bugs in 3.2.5. Bugfixes ======== -* ... +* Fixed a regression in Django 3.2 that caused a crash validating ``"NaN"`` + input with a ``forms.DecimalField`` that had a specified ``max_value`` + (:ticket:`32949`). |
