Thanks Tim,
I wrapped it in a div and daisy-chained some filters so as to allow
the js file find the class tags.
{% for genre in genre_list %}
<div class="{{ genre.genre_type|slugify|cut:"-and-
entertainment" }}">
<h5>{{ genre.genre_type }}</h5>
<ul>
{% for credit in genre.credit_set.all %}
<li>{{ credit.title }}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---