On Fri, Apr 11, 2008 at 12:13 PM, James Bennett <[EMAIL PROTECTED]> wrote:
>
>  On Fri, Apr 11, 2008 at 11:10 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>  >  Alright, call me a moron, but this isn't working.  What am I doing wrong?
>
>  You got bad advice. You want to read the docs on the "cycle" tag,
>  because this specific sort of thing is what it exists for.
snip

Thanks, this seems a lot cleaner:

<li class="{% cycle odd,even %}">

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--~--~---------~--~----~------------~-------~--~----~
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