Re: Cycle & Include tags

2011-03-08 Thread Russell Keith-Magee
On Tue, Mar 8, 2011 at 9:29 PM, Russell Keith-Magee wrote: > On Tue, Mar 8, 2011 at 11:29 AM, Brian Neal wrote: >> I'm using a recent checkout of Django trunk. >> >> If I have a template "test.html" which is this: >> >> {{ rowcolors }} >> >> the only

Re: Cycle & Include tags

2011-03-08 Thread Russell Keith-Magee
On Tue, Mar 8, 2011 at 11:29 AM, Brian Neal wrote: > I'm using a recent checkout of Django trunk. > > If I have a template "test.html" which is this: > > {{ rowcolors }} > > the only way I could make cycle and include behave together is to do > this: > > {% for obj in

Cycle & Include tags

2011-03-07 Thread Brian Neal
I'm using a recent checkout of Django trunk. If I have a template "test.html" which is this: {{ rowcolors }} the only way I could make cycle and include behave together is to do this: {% for obj in page.object_list %} {% include 'test.html' %} {% endfor %} I thought that perhaps the new