mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +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:
parent
190874eadd
commit
cac94dd8aa
15 changed files with 473 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue