Fixed #32313 -- Corrected QuerySet.in_bulk() signature.

This commit is contained in:
Iuri de Silvio 2021-01-11 04:00:49 -03:00 committed by GitHub
parent 622fcb8119
commit 02391bc98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2284,7 +2284,7 @@ database query like ``count()`` would.
``in_bulk()``
~~~~~~~~~~~~~
.. method:: in_bulk(id_list=None, field_name='pk')
.. method:: in_bulk(id_list=None, *, field_name='pk')
Takes a list of field values (``id_list``) and the ``field_name`` for those
values, and returns a dictionary mapping each value to an instance of the