#22654: DecimalField and DECIMAL_SEPARATOR (in admin)
-------------------------------+-----------------------------------------
     Reporter:  matija@…       |                    Owner:  sabinemaennel
         Type:  Uncategorized  |                   Status:  assigned
    Component:  Uncategorized  |                  Version:  1.6
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+-----------------------------------------

Comment (by sabinemaennel):

 I think this is clearly an error. I tested it with a decimal field. The
 settings `DECIMAL_SEPARATOR = ','` is taken into account when the field is
 shown in the admin, but when validating the field only input with a `.` as
 delimiter is accepted. The field validation needs to be adapted to the
 delimiter given in the settings as well. I tested this with the new 1.7
 Django.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22654#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.1658c416cc5a2da8e5318afcd4bd37af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to