The get_by_model method of TaggedItemManager creates and returns a
queryset if existing tags are given while it returns a list if tag_count == 0.
I would suggest returning an empty queryset also in this last case to keep
a uniform interface.
In my personal case, I had to "and" (&) the queryset returned by the method
with another queryset and the operation was failing (of course) when the
get_by_model method returned a list rather than a queryset.
Original issue reported on code.google.com by fd.calab...@gmail.com on 29 Oct 2007 at 7:57
Original issue reported on code.google.com by
fd.calab...@gmail.com
on 29 Oct 2007 at 7:57