#15767: DecimalField is not aware of locale (in admin)
--------------------------------------+------------------------
               Reporter:  Semmel      |          Owner:  nobody
                   Type:  Bug         |         Status:  closed
              Milestone:              |      Component:  Forms
                Version:  1.3         |       Severity:  Normal
             Resolution:  invalid     |       Keywords:
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  0
                  UI/UX:  0           |
--------------------------------------+------------------------
Changes (by Semmel):

 * ui_ux:   => 0
 * easy:   => 0


Comment:

 The documentation doesn't say anything about this problem - in fact it
 sounds like it should work as i expect it to work:
   Django will also use localized formats when parsing data in forms.
 Now this sounds like it should also work in admin. But i doesn't - and
 there's nothing in the admin docs about it.

 And a custom ModelForm/ModelAdmin just won't cut it - i don't want to
 redefine my whole admin just because of some missing localization.

 By the way: This is some real world problem. I have users that are just
 using the frontend with numbers like they're used to (because i've set
 localize to true). Now some of them are using the admin too and are
 complaining why they have to type in the same numbers using English
 formatting.

 On a side note: I don't really understand why i have to explictly set
 localize when USE_L10N is already set to True. That doesn't make sense to
 me.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15767#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 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