Browse Source

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

Iuri de Silvio 4 years ago
parent
commit
02391bc98c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/ref/models/querysets.txt

+ 1 - 1
docs/ref/models/querysets.txt

@@ -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