1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26780 -- Added prefetch_related() support for sliced queries.

This was made possible by window function filtering support added in
f387d024fc.
This commit is contained in:
Simon Charette
2022-08-13 02:14:19 -04:00
committed by Mariusz Felisiak
parent f387d024fc
commit 242499f2dc
3 changed files with 93 additions and 7 deletions

View File

@@ -193,6 +193,9 @@ Models
:ref:`window-functions` with the exception of disjunctive filter lookups
against window functions when performing aggregation.
* :meth:`~.QuerySet.prefetch_related` now supports
:class:`~django.db.models.Prefetch` objects with sliced querysets.
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~