Hi!

Example code:

==========

{% for pretty_date, days_events in date_days_events_tuple %}
...
<div>
...
{% for details in days_events %}
<li class="{% cycle "odd" "even" %}">...</li>
...
{% endfor %}
...
</div>
...
{% endfor %}

==========

The output:

==========

<div><li ...odd...>...<li ...even...>...<li ...odd...></div>
<div><li ...even...>...<li ...odd...>...<li ...even...></div>
<div><li ...odd...>...</div>

==========

What I really want:

==========

<div><li ...odd...>...<li ...even...>...<li ...odd...></div>
<div><li ...odd...>...<li ...even...>...<li ...odd...></div>
<div><li ...odd...>...</div>

==========

This must be a complete noob question. Sorry 'bout that. :D

Thanks!
Micky

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

Reply via email to