1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

Fixed #36432 -- Fixed a prefetch_related crash on related target subclass queryset.

Regression in 626d77e52a.

Refs #36116.

Thanks Cornelis Poppema for the excellent report.
This commit is contained in:
Simon Charette
2025-06-03 22:34:39 -04:00
committed by Sarah Boyce
parent c075508b4d
commit 08187c94ed
4 changed files with 25 additions and 1 deletions

View File

@@ -280,6 +280,10 @@ class Employee(models.Model):
ordering = ["id"]
class SelfDirectedEmployee(Employee):
pass
# Ticket #19607