#31190: prefetch_related() crashes for GenericForeignKey with custom related
object
ID.
-------------------------------------+-------------------------------------
Reporter: Eugene Hatsko | Owner: Eugene
| Hatsko
Type: Bug | Status: closed
Component: | Version: 3.0
contrib.contenttypes |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
GenericRelatedObjectManager |
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"a56e45a2bfc75116451c4e24fce82aa1827edb11" a56e45a2]:
{{{
#!CommitTicketReference repository=""
revision="a56e45a2bfc75116451c4e24fce82aa1827edb11"
[3.0.x] Fixed #31190 -- Fixed prefetch_related() crash for
GenericForeignKey with custom ContentType foreign key.
Regression in dffa3e1992562ba60512d96d1eb5859ffff2ceb5.
Backport of 0b013564ef0609d95b1d263626f2e15bccda1a50 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31190#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.d59d47ec3a151f4c153d93c2c385ee14%40djangoproject.com.