From cac94dd8aa2fb49cd2e06b5b37cf039257284bb0 Mon Sep 17 00:00:00 2001 From: Clément Escolano Date: Tue, 1 Aug 2023 23:31:40 +0200 Subject: Fixed #33651 -- Added support for prefetching GenericForeignKey. Co-authored-by: revanthgss Co-authored-by: Mariusz Felisiak --- docs/internals/deprecation.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index a400ed97f9..632c1e219d 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -45,6 +45,14 @@ details on these changes. * The ``ChoicesMeta`` alias to ``django.db.models.enums.ChoicesType`` will be removed. +* The ``Prefetch.get_current_queryset()`` method will be removed. + +* The ``get_prefetch_queryset()`` method of related managers and descriptors + will be removed. + +* ``get_prefetcher()`` and ``prefetch_related_objects()`` will no longer + fallback to ``get_prefetch_queryset()``. + .. _deprecation-removed-in-5.1: 5.1 -- cgit v1.3