#18933 closed Cleanup/optimization (fixed)
docstring for cycle templatetag method differs from documentation
Reported by: | Martey Dodoo | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | cycle templatetag |
Cc: | marc.tamlyn@… | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
A code example in the docstring in the cycle method in django.template.defaulttags for the silent option of the cycle templatetag differs from the example in the actual documentation.
Line 536 of defaulttags.py contains "{% cycle rowcolors %}" when it should be "{{ rowcolors }}". The documentation was changed in a commit fixing ticket #15570.
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Cc: | added |
---|---|
Has patch: | set |
Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I have added a fix for this on a branch on Github and submitted a pull request.