Re: Template - different layout for odd/even items

2008-05-07 Thread John Melesky
I think the tag you're looking for is "cycle": http://www.djangoproject.com/documentation/templates/#cycle That's most convenient when interfacing with CSS stuff, so you could do something like: > {% for menuitem in paginator.object_list %} > which would put your in a different class depen

Template - different layout for odd/even items

2008-05-07 Thread DuncanM
I have a template as such: --- | TITLE| |--| || | || | Item 1