Kenneth Gonsalves wrote:
> On 11-Apr-08, at 9:36 PM, Kenneth Gonsalves wrote:
>
>   
>> On 11-Apr-08, at 9:28 PM, Chas. Owens wrote:
>>
>>     
>>> {% if forloop.counter % 2 %}
>>>       
>> divisibleby
>>     
>
> http://www.djangoproject.com/documentation/templates/#divisibleby
>
>   
Wouldn't http://www.djangoproject.com/documentation/templates/#cycle be 
a better solution?  I think it was designed exactly for zebra tables.

-- 
Norman J. Harman Jr.  512 912-5939
Technology Solutions Group, Austin American-Statesman

___________________________________________________________________________
Get out and about this spring with the Statesman! In print and online,
the Statesman has the area's Best Bets and recreation events.
Pick up your copy today or go to statesman.com 24/7.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to