Django Fans,

When used inside a loop is there any way to have the cycle tag simply 
cycle through the given strings/variables each time it's called regardless 
of the loop index?  The spot I need to use the cycle tag within my loop is 
inside an ifchanged block, so the cycle tag is not called on each 
iteration through the loop.  So, I'm ending up with one or more rows with 
their css class set to Odd, followed by one or more rows with their css 
class set to Even, etc., etc.  I tried placing a {% cycle 'Odd' 'Even' as 
rowcolors %} outside the loop and calling {% cycle rowcolors %} from 
inside the loop, which didn't work.



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!


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