#36035: Prefetch while annotating the reference of a m2m relation generates
duplicated joins
-------------------------------------+-------------------------------------
Reporter: Thiago Bellini | Owner: (none)
Ribeiro |
Type: Bug | Status: closed
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Thiago Bellini Ribeiro):
Replying to [comment:1 Simon Charette]:
> Hey Thiago, I'm almost certain this is duplicate of #35677 which you
could confirm by trying out the patch in ticket:35677#comment:9.
>
> I'm going to close this one as a duplicate but please comment over there
(the discussion might be of interest to you) if the patch does indeed
resolve your issue. I might be able to submit a patch in the next few days
if it's the case.
Thanks for the reply! :)
And yes, the patch in
https://code.djangoproject.com/ticket/35677#comment:9 indeed fixes the
issue for me! Looking forward to the patch
btw, will that fix be backported to older django versions (e.g. 4.2, 5.0,
etc)
--
Ticket URL: <https://code.djangoproject.com/ticket/36035#comment:2>
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 visit
https://groups.google.com/d/msgid/django-updates/01070193f9c7105e-d66511e4-dd17-4d7f-8ed7-679b520be8b3-000000%40eu-central-1.amazonses.com.