Opened 13 years ago
Closed 13 years ago
#17496 closed Bug (fixed)
Floatformat no longer allows strings as precision since r17297
Reported by: | Florian Apolloner | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Title says it all, according to https://docs.djangoproject.com/en/dev/ref/templates/builtins/#std:templatefilter-floatformat strings as precision are supposed to get converted to an int.
Attached patch contains fix and tests…
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | floatformat.diff added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17335]:
(The changeset message doesn't reference this ticket)