diff options
| author | Iuri de Silvio <iurisilvio@gmail.com> | 2021-01-11 04:00:49 -0300 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-11 08:02:03 +0100 |
| commit | 1dd159f16ed0240c7fe50e25510f54d035d1f7ee (patch) | |
| tree | 969d2143b7b0b1c87d9c7539cf5b55587a1ff156 | |
| parent | 2b443cb6c2d55669b20019f2755c0711c3d23050 (diff) | |
[3.1.x] Fixed #32313 -- Corrected QuerySet.in_bulk() signature.
Backport of 02391bc98c406f3cd5e329d252ec5c4b63cf979e from master
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index f0264ae125..6a6c7b76ce 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2216,7 +2216,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 |
