Hey,
I have date based generic views, in the archive_index view I'm
displaying the most recent blog entries, I'm trying to get the
category for each, which is a ManyToMany field.
{% for entry in latest %}
{{ entry.title }}
<br />{{ entry.body }}
<br />Category: {% for categories in entry.get_category_list %}
{{ category.title }}{% endfor %}
{% endfor %}
It's not displaying the category info, I also tried
latest.get_category_list and the same thing.
Thanks Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---