Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19241 closed Uncategorized (fixed)

Demonstrate how to round to integers using floatformat template tag

Reported by: Daniel Greenfeld Owned by: Daniel Greenfeld
Component: Documentation Version: 1.5-alpha-1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

People write this as a custom templatetag all the time. There should be an example in the documentation that addresses it.

Change History (3)

comment:1 Changed 4 years ago by Daniel Greenfeld

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

The work is available on branch ticket_19241.

This has a pull request at https://github.com/django/django/pull/496.

comment:2 Changed 4 years ago by Preston Holmes <preston@…>

Resolution: fixed
Status: newclosed

In dbe984c397d6c1e49167dd8fbfb655dd17a14572:

Fixed #19241 -- Improved floatformat docs

Demonstrate how to round to integers using floatformat templatetag

comment:3 Changed 4 years ago by Preston Holmes <preston@…>

In a70492e6b532905c921678f35b5c60b22387f1c6:

Fixed #19241 -- Improved floatformat docs

Demonstrate how to round to integers using floatformat templatetag

Note: See TracTickets for help on using tickets.
Back to Top