﻿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
8065	Calling queyset.in_bulk (without any arguments) should evaluate the whole queryset.	ElliottM	Bryan Marty	"in_bulk() works well if you know beforehand which ids you want to pull out. It becomes irritating, however, if you want to map an entire queryset at once.

Right now you have to do the following:

{{{
id_list=list(Book.objects.filter(author__name='Douglas Adams').values_list('id', flat=True))
bulk=Book.objects.in_bulk(id_list)
}}}

With the patch included, the following will now work:


{{{
bulk=Book.objects.filter(author__name='Douglas Adams').in_bulk()
}}}

I feel the second way is easier to read, and I really don't see any reason why people shouldn't be allowed to do this."	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed	in_bulk filter list	Joseph Gordon pramodpsb@…	Accepted	1	0	0	0	1	0
