Opened 12 years ago

Closed 12 years ago

Last modified 12 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 by Daniel Greenfeld, 12 years ago

The work is available on branch ticket_19241.

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

comment:2 by Preston Holmes <preston@…>, 12 years ago

Resolution: fixed
Status: newclosed

In dbe984c397d6c1e49167dd8fbfb655dd17a14572:

Fixed #19241 -- Improved floatformat docs

Demonstrate how to round to integers using floatformat templatetag

comment:3 by Preston Holmes <preston@…>, 12 years ago

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