"usage_for_queryset" simply returns all tags for the given Model, not the
queryset.
For this code:
tag = Tag.objects.get(name='tag_name')
queryset = TaggedItem.objects.get_by_model(Article, tag)
tags = Tag.objects.usage_for_queryset(queryset, counts=True)
"queryset" appropriately returns a number of articles that have been tagged
with the tag 'tag_name', but when I attempt to retrieve all of the tags for
that queryset, "tags" returns a complete list of all tags for that model.
Original issue reported on code.google.com by intellin...@gmail.com on 2 Oct 2009 at 5:56
Original issue reported on code.google.com by
intellin...@gmail.com
on 2 Oct 2009 at 5:56