def in_bulk(self, id_list):
if not id_list:<EOL><INDENT>return {}<EOL><DEDENT>qs = self._clone()<EOL>qs.add_filter(('<STR_LIT>', id_list))<EOL>qs._clear_ordering(force_empty=True)<EOL>return dict([(obj._get_pk_val(), obj) for obj in qs])<EOL>
Returns a dictionary mapping each of the given IDs to the object with
that ID.