#18509: Bug: forms.DecimalField doesn't validate correctly when localized.
(Unittest)
---------------------------------+--------------------
     Reporter:  serge_spaolonzi  |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Forms            |    Version:  1.4
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 forms.DecimalField doesn't validate correctly when localized.
 A form DecimalField is expected to validate invalid values when the method
 to python is called.
 It throws a ValidationError for non localized instances when an incorrect
 value is introduced.
 But for localized instances that are expected to accept a comma (,) as
 decimal separator it doesn't throw any exception for a value with a dot
 (.) and take it as valid.

 Unittest attached

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18509>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to