#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)
Change History (4)
by , 14 years ago
Attachment: | yesno_documentation.patch added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
Patch to the yesno filter documentation