id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 13444,{% cycle %} no longer works within inclusion tags and included templates,awmcclain,nobody,"Cycle only works within the template that contains the for loop -- if you include a subtemplate or inclusion tag, cycle doesn't work. This is a regression from 1.1.1. {{{ def test(request): return render_to_response('test.html', {'bar':range(4)}) ----- test.html {% for i in bar %} {% cycle 'alpha' 'bravo' %} Tag:{% foo %} Include:{% include 'foo.html' %} {% endfor %} -------- @register.inclusion_tag('foo.html', takes_context=True) def foo(context): return context -------- foo.html {% cycle 'alpha' 'bravo' %} ------------ output: alpha Tag:alpha Include:alpha bravo Tag:alpha Include:alpha alpha Tag:alpha Include:alpha bravo Tag:alpha Include:alpha }}} ",,closed,Documentation,1.2-beta,,fixed,,,Accepted,0,0,0,0,0,0