Closed GoogleCodeExporter closed 9 years ago
If it can be of any help here is the traceback I get from django:
http://dpaste.com/37830/
Thanks
Original comment by fd.calab...@gmail.com
on 3 Mar 2008 at 10:33
IMHO problem occurs because object_ids gathered from entire model objects which
has
more objects than queryset.
How about simple solution:
object_dict = queryset.in_bulk(object_ids)
return [object_dict[object_id] for object_id in object_ids if
object_dict.has_key(object_id)]
else:
return []
Original comment by n.le...@gmail.com
on 10 May 2008 at 12:43
Fixed in revision 136:
http://code.google.com/p/django-tagging/source/detail?r=136
Original comment by jonathan.buchanan
on 10 May 2008 at 12:32
Original issue reported on code.google.com by
fd.calab...@gmail.com
on 2 Mar 2008 at 11:03