Could that line make use of `issubclass` instead?
--
Ticket URL: <https://code.djangoproject.com/ticket/28096>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/8374 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/28096#comment:1>
* stage: Unreviewed => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/28096#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43b4a1618ed85151494d68778a1bb6304ce1cb79" 43b4a161]:
{{{
#!CommitTicketReference repository=""
revision="43b4a1618ed85151494d68778a1bb6304ce1cb79"
Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28096#comment:3>
Comment (by Claude Paroz <claude@…>):
In [changeset:"61e883c7c268f3460a85be1c66ea1773711cd6c7" 61e883c]:
{{{
#!CommitTicketReference repository=""
revision="61e883c7c268f3460a85be1c66ea1773711cd6c7"
[1.11.x] Fixed #28096 -- Allowed prefetch calls with ModelIterable
subclasses
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
Backport of 43b4a1618ed85151494d68778a1bb6304ce1cb79 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28096#comment:4>