#19447: Intword and intabr expansion and intword_internal api exposure
----------------------------------+--------------------
Reporter: eire1130 | Owner: nobody
Type: New feature | Status: new
Component: contrib.humanize | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------
Created a pull requests located here:
https://github.com/django/django/pull/578
This patch does three things:
1. Changes internal API for intword and adds an optional argument for
precision. Default is 1, which was previous hardcoded behavior.
2. Adds a new filter called "intabr" that does the same as the above,
except returns the converted number with an abbreviation.
3. Exposes an API for developers to create there own word conversion type
filters without needing to recreate the wheel.
Hopefully I didn't screw up the pull request process - this is the first
one I've attempted.
--
Ticket URL: <https://code.djangoproject.com/ticket/19447>
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 https://groups.google.com/groups/opt_out.