﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12251	QuerySet.in_bulk() should accept a set()	Johannes Dollinger	nobody	"

{{{
--- django/db/models/query.py	(revision 11751)
+++ django/db/models/query.py	(working copy)
@@ -356,7 +356,7 @@
         """"""
         assert self.query.can_filter(), \
                 ""Cannot use 'limit' or 'offset' with in_bulk""
-        assert isinstance(id_list, (tuple, list)), \
+        assert isinstance(id_list, (tuple, list, set, frozenset)), \
                 ""in_bulk() must be provided with a list of IDs.""
         if not id_list:
             return {}
}}}"		closed	Database layer (models, ORM)	dev		fixed			Ready for checkin	1	0	0	0	0	0
