I've been living with this one for a long time. My solution was to artificially add an iteration to make sure it had the right modulus number of rows.
On Aug 11, 2010, at 1:43 PM, Ikai L (Google) wrote: > Interesting bug. It shouldn't work this way. I'll take a look at this. > > Can you accomplish the same thing using the span tag and just letting it wrap? > > On Wed, Aug 11, 2010 at 1:12 AM, Blixt <[email protected]> wrote: > When using {% cycle first,second %} it would appear that its state is > stored between requests. The first time, the results are first, > second, first, second... and the second request is second, first, > second, first... (there is an odd amount of items that are cycled.) > > Is this bug specific to Google App Engine? A Google search didn't seem > to bring up any results mentioning it. > > For a live example, see: http://2.latest.simpleeditionsapp.appspot.com/ > Relevant code: > http://github.com/littke/simpleeditions/blob/187c5ebf71ce1824acb28eb8da8dd51aca20a848/src/templates/home.html#L15 > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blog: http://googleappengine.blogspot.com > Twitter: http://twitter.com/app_engine > Reddit: http://www.reddit.com/r/appengine > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
