mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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 cc3d24d7d5.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user