diff options
| author | John Parton <john.parton.iv@gmail.com> | 2024-08-18 23:12:14 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-09-25 08:51:43 -0400 |
| commit | 1820d35b17f0a95f4ce888971b9ca0c7a3697c83 (patch) | |
| tree | 7419afb8156f7869595cc06cefe872f95597f77c /docs | |
| parent | 68aae8878ff90dd787db55ecc44ee712525ccdc6 (diff) | |
Fixed #36605 -- Added support for QuerySet.in_bulk() after .values() or .values_list().
co-authored-by: Adam Johnson <me@adamj.eu>
co-authored-by: Simon Charette <charette.s@gmail.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 5 | ||||
| -rw-r--r-- | docs/releases/6.1.txt | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 5fb6cb33b3..4be1759af2 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2588,6 +2588,11 @@ Example: If you pass ``in_bulk()`` an empty list, you'll get an empty dictionary. +.. versionchanged:: 6.1 + + Support for chaining ``in_bulk()`` after :meth:`values` or + :meth:`values_list` was added. + ``iterator()`` ~~~~~~~~~~~~~~ diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index edfdacf6b7..56a222f3e3 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -175,7 +175,8 @@ Migrations Models ~~~~~~ -* ... +* :meth:`.QuerySet.in_bulk` now supports chaining after + :meth:`.QuerySet.values` and :meth:`.QuerySet.values_list`. Pagination ~~~~~~~~~~ |
