Opened 15 years ago
Closed 15 years ago
#14048 closed (invalid)
Tag "cycle" doesn't work when included
| Reported by: | Ivan Ivanov | Owned by: | nobody |
|---|---|---|---|
| Component: | Template system | Version: | 1.2 |
| Severity: | 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
Example:
base.html
<table>
<tr class="{% include 'cycle.html' %}">
...
</tr>
</table>
cycle.html
{% cycle 'row1' 'row2' %}
The result of cycle tag will always be 'row1'.
Note:
See TracTickets
for help on using tickets.
Working as designed, for reasons that are documented in the 1.2 release notes.