diff options
| author | Iuri de Silvio <iurisilvio@gmail.com> | 2021-01-11 04:00:49 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 08:00:49 +0100 |
| commit | 02391bc98c406f3cd5e329d252ec5c4b63cf979e (patch) | |
| tree | b4462a19e421c50da2086314fa2113e6931c76dc /docs | |
| parent | 622fcb81199864cad1ec9d0b25820a96ef3f586f (diff) | |
Fixed #32313 -- Corrected QuerySet.in_bulk() signature.
Diffstat (limited to 'docs')
| -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 2c8c2e38fd..656bf537ad 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 |
