summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-12-12 18:12:23 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-15 22:28:37 +0100
commit817bc5800b40bcc74534de5e5176919cb826494f (patch)
tree9312fa61d74417bb99dbcddfc563688c49e7136f /docs
parent55f71b195b76f4806bd1cd928f85d9c72aa935f4 (diff)
Refs #33651 -- Removed Prefetch.get_current_queryset() and get_prefetch_queryset() per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/6.0.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt
index 596b11b27c..1f6f9a79da 100644
--- a/docs/releases/6.0.txt
+++ b/docs/releases/6.0.txt
@@ -286,6 +286,14 @@ to remove usage of these features.
* The ``ChoicesMeta`` alias to ``django.db.models.enums.ChoicesType`` is
removed.
+* The ``Prefetch.get_current_queryset()`` method is removed.
+
+* The ``get_prefetch_queryset()`` method of related managers and descriptors is
+ removed.
+
+* ``get_prefetcher()`` and ``prefetch_related_objects()`` no longer fallback to
+ ``get_prefetch_queryset()``.
+
See :ref:`deprecated-features-5.1` for details on these changes, including how
to remove usage of these features.