From 02391bc98c406f3cd5e329d252ec5c4b63cf979e Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Mon, 11 Jan 2021 04:00:49 -0300 Subject: [PATCH] Fixed #32313 -- Corrected QuerySet.in_bulk() signature. --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 2c8c2e38fdd..656bf537adc 100644 --- a/docs/ref/models/querysets.txt +++ b/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