Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14122 closed (fixed)

Documentation for yesno filter is lacking

Reported by: mark0978 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: UI/UX:

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 idahogray 5 years ago.
Patch to the yesno filter documentation

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by idahogray

Patch to the yesno filter documentation

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 5 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 5 years ago by jezdez

(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