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 26568 in_bulk when run on a query set should not need a list of IDs Brillgen Developers nobody in_bulk provides a great shortcut for getting a primary key dictionary for accessing objects randomly without hitting the database repeatedly. However, for some use case it has been designed as a manager function which takes a list of PKs. But when it is run on a query set, by default it should just return that very query set in a dictionary form (sort of obvious isn't it?) Cleanup/optimization closed Database layer (models, ORM) 1.8 Normal duplicate Unreviewed 0 0 0 0 0 0