Make in_bulk() respect no_dereference()
				
					
				
			This commit is contained in:
		| @@ -619,7 +619,9 @@ class BaseQuerySet(object): | ||||
|                 doc_map[doc['_id']] = self._get_as_pymongo(doc) | ||||
|         else: | ||||
|             for doc in docs: | ||||
|                 doc_map[doc['_id']] = self._document._from_son(doc, only_fields=self.only_fields) | ||||
|                 doc_map[doc['_id']] = self._document._from_son(doc, | ||||
|                         only_fields=self.only_fields, | ||||
|                         _auto_dereference=self._auto_dereference) | ||||
|  | ||||
|         return doc_map | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user