#30493: GenericRelation and prefetch_related: wrong caching with cyclic
prefetching.
-------------------------------------+-------------------------------------
Reporter: Finn Stutzenstein | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: GenericRelation | Triage Stage: Accepted
prefetch_related |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* version: 2.2 => master
* component: contrib.contenttypes => Database layer (models, ORM)
* stage: Unreviewed => Accepted
Comment:
Thanks for the report. This is definitely related with
`prefetch_related()`, because `get()` and `first()` works properly.
Reproduced at 519016e5f25d7c0a040015724f9920581551cab0.
--
Ticket URL: <https://code.djangoproject.com/ticket/30493#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/074.4f2367a5d216325cf01d691093ae9475%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.