﻿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
28002	named cycle tags don't work if cycle is instantiated outside included template	kapil garg	nobody	"The following code does not work. I don't know if this is the desired behaviour or not.


{{{
def test_cycle():
        engine = Engine(loaders=[
            ('django.template.loaders.locmem.Loader', {
                'template': '{% for x in vars %}{%cycle ""a"" ""b"" ""c"" as cycler%}{% include ""include"" %}{% endfor %}',
                'include': '{% cycle cycler %}',
            }),
        ])
        output = engine.render_to_string('template', dict(vars=range(10)))
        print(output)
}}}

This is a pretty normal use case when cycle values are passed from another template. "	Bug	closed	Template system	dev	Normal	worksforme			Unreviewed	0	0	0	0	0	0
