#23935: DecimalField in admin can show up as Scientific Notation
------------------------------------+--------------------------------------
     Reporter:  xblitz              |                    Owner:  xblitz
         Type:  Bug                 |                   Status:  closed
    Component:  Utilities           |                  Version:  1.8alpha1
     Severity:  Release blocker     |               Resolution:  fixed
     Keywords:  DecimalField admin  |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------
Changes (by collinanderson):

 * severity:  Normal => Release blocker
 * cc: cmawebsite@… (added)
 * version:  1.7 => 1.8alpha1
 * easy:  1 => 0
 * has_patch:  1 => 0
 * stage:  Ready for checkin => Unreviewed


Comment:

 I'm using a custom "Money" subclass of DecimalField that automatically
 adds a dollar sign when displaying. It works fine on 1.7 but now it
 doesn't work.

 Is it too late possibly change this? We could move this to a {{
 value|decimalformat }} filter, or we could do {{ |stringformat:"F" }}

 If the ship has already sailed, that's ok too. I can always find a
 different way to do it.

--
Ticket URL: <https://code.djangoproject.com/ticket/23935#comment:7>
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/064.5c7c4e6b2828b0b5d5104ee6a03491e6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to