When using the regroup template tag, is there a way to get the count
of the the regroup list?

For example, if I have

{% regroup items  by type as type_list %}
{% for type in type_list %}
   There are X items of {{type.grouper}}
{% end for %}

For X, I thought I could just use type.list.count, but count doesn't
seem to work in this case.


--~--~---------~--~----~------------~-------~--~----~
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