#19220: Django admin form fields for a models.DecimalField with value 0 or 0.0 
show
"0E-8"
-------------------------------------+-------------------------------------
     Reporter:  nebstrebor           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  1.4
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Design
    Has patch:  0                    |  decision needed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  1
-------------------------------------+-------------------------------------
Changes (by mrj):

 * needs_docs:   => 0
 * stage:  Unreviewed => Design decision needed
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 It looks like you've got a good response from the StackOverflow question:

 http://stackoverflow.com/questions/13163167/how-to-get-a-django-admin-
 form-field-for-a-models-decimalfield-with-value-0-not

 I'm marking as design decision needed, since it looks like there are many
 out there running into the same question. Does it make sense to have a way
 to normalize values in DecimalFields before displaying?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19220#comment:1>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to