#17662: Adds percentage filter to humanize module
-------------------------------------+-------------------------------------
Reporter: eire1130 | Owner: nobody
Type: New feature | Status: closed
Component: contrib.humanize | Version: master
Severity: Normal | Resolution: wontfix
Keywords: humanize | Triage Stage: Design
Has patch: 1 | decision needed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 1 | Patch needs improvement: 1
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: new => closed
* resolution: => wontfix
Comment:
`|multiply` is a no go (look up "math filter" in this tracker if you want
to see an ugly troll).
It's unfortunate that the design of the Django template language prevents
us from writing a locale-aware filter :/ and a {% percent %} tag isn't a
nice API.
For lack of a better idea, I'm going to admit defeat and leave it up to
users to precompute percentages :(
--
Ticket URL: <https://code.djangoproject.com/ticket/17662#comment:10>
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].
For more options, visit https://groups.google.com/groups/opt_out.