mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31190 -- Fixed prefetch_related() crash for GenericForeignKey with custom ContentType foreign key.
Regression in dffa3e1992.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b753e0e750
commit
0b013564ef
@@ -35,3 +35,7 @@ Bugfixes
|
||||
* Fixed a regression in Django 2.2.7 that caused
|
||||
:meth:`~django.db.models.Model.get_FOO_display` to work incorrectly when
|
||||
overriding inherited choices (:ticket:`31124`).
|
||||
|
||||
* Fixed a regression in Django 3.0 that caused a crash of
|
||||
``QuerySet.prefetch_related()`` for ``GenericForeignKey`` with a custom
|
||||
``ContentType`` foreign key (:ticket:`31190`).
|
||||
|
||||
Reference in New Issue
Block a user