Opened 14 years ago

Closed 14 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'.

Change History (1)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: invalid
Status: newclosed

Working as designed, for reasons that are documented in the 1.2 release notes.

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