mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #33651 -- Added support for prefetching GenericForeignKey.
Co-authored-by: revanthgss <revanthgss@almabase.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
190874eadd
commit
cac94dd8aa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user