Changes between Initial Version and Version 2 of Ticket #6322
- Timestamp:
- Jun 25, 2008, 11:12:40 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6322
- Property Triage Stage Unreviewed → Ready for checkin
-
Ticket #6322 – Description
initial v2 1 1 When using ifchanged in a doubly-nested loop, the value is only reset to None on the inner loop's first iteration. But if the ifchanged tag is inside another conditional, it may not be evaluated on the first iteration. This can mean the value isn't properly reset: 2 2 3 {{{ 3 4 {% for data in datalist %} 4 5 {% for c,d in data %} … … 8 9 {% endfor %} 9 10 {% endfor %} 10 11 }}} 11 12 The fix is to not examine forloop.first explicitly, but to annotate the forloop context.