Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14122 closed (fixed)

Documentation for yesno filter is lacking

Reported by: Mark Jones Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Looking at http://docs.djangoproject.com/en/dev/ref/templates/builtins/ gives pretty good examples for just about everything except yesno.

We need to add the following right before the table that is present:

For example:

{{ value|yesno:"yeah,no,maybe" }}

Attachments (1)

yesno_documentation.patch (612 bytes ) - added by Keith Gray 14 years ago.
Patch to the yesno filter documentation

Download all attachments as: .zip

Change History (4)

by Keith Gray, 14 years ago

Attachment: yesno_documentation.patch added

Patch to the yesno filter documentation

comment:1 by Alex Gaynor, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

(In [13872]) Fixed #14122 -- Added example for builtin yesno template filter. Thanks, idahogray.

comment:3 by Jannis Leidel, 14 years ago

(In [13873]) [1.2.X] Fixed #14122 -- Added example for builtin yesno template filter. Thanks, idahogray.

Backport from trunk (r13872).

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