mirror of
https://github.com/django/django.git
synced 2025-11-23 12:26:57 +00:00
Fixed #36432 -- Fixed a prefetch_related crash on related target subclass queryset.
Some checks are pending
Docs / docs (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Some checks are pending
Docs / docs (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Regression in 626d77e52a.
Refs #36116.
Thanks Cornelis Poppema for the excellent report.
This commit is contained in:
parent
c075508b4d
commit
08187c94ed
4 changed files with 25 additions and 1 deletions
|
|
@ -280,6 +280,10 @@ class Employee(models.Model):
|
|||
ordering = ["id"]
|
||||
|
||||
|
||||
class SelfDirectedEmployee(Employee):
|
||||
pass
|
||||
|
||||
|
||||
# Ticket #19607
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue