Hmm, you've got me there! I looked at the source but I'm afraid my  
eyes crossed halfway through. Maybe someone else can help?


On Apr 8, 2008, at 12:57 AM, Kevin Monceaux wrote:

>
>
> On Tue, 8 Apr 2008, Eric Abrahamsen wrote:
>
>> You just want plain old {% resetcycle %}, nothing else. It will reset
>> the innermost cycle you put it in...
>
> I tried the above, and still get the same results.  I'm not sure if it
> makes a difference, but although I'm using cycle within a loop I've  
> had to
> resort to putting a {% cycle 'Odd' 'Even' as rowcolor %} before the  
> loop
> starts and using {% cycle rowcolor %} within the loop.  The spot in  
> the
> loop where I'm calling cycle is in inside an ifchanged block.  So,  
> without
> using the "as rowcolor" technique the cycle was acting like it was  
> being
> called on each iteration through the loop even though it wasn't.
>
>
>
> 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