#14101: Localized DecimalField doesn't accept localized input
------------------------------------------------+---------------------------
               Reporter:  dfoerster             |         Owner:  nobody  
                 Status:  reopened              |     Milestone:          
              Component:  Internationalization  |       Version:  1.2     
             Resolution:                        |      Keywords:  localize
           Triage Stage:  Unreviewed            |     Has patch:  0       
    Needs documentation:  0                     |   Needs tests:  0       
Patch needs improvement:  0                     |  
------------------------------------------------+---------------------------
Changes (by aledr):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 settings.py has LANGUAGE_CODE = 'pt-br'
 You can check at 'django/conf/locale/pt_BR/formats.py' that
 DECIMAL_SEPARATOR is set to ','.

 Please note fields 'Pressão' e 'Vazão', both are DecimalFields, check how
 it displays the list, the change form and the error when I try to input a
 comma separated number in the change form.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14101#comment:11>
Django <http://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to