Re: [Django] #34612: QuerySet.only() doesn't work with select_related() on a reverse OneToOneField relation. (was: QuerySet.only() regression on Django 4.2 with select_related() on a reverse OneToOneField relation)

0 views
Skip to first unread message

Django

unread,
May 31, 2023, 4:40:25 AM5/31/23
to django-...@googlegroups.com
#34612: QuerySet.only() doesn't work with select_related() on a reverse
OneToOneField relation.
-------------------------------------+-------------------------------------
Reporter: Ian Cubitt | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* cc: Simon Charette (added)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted


Comment:

Thanks for the report!

Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
Reproduced at 881cc139e2d53cc1d3ccea7f38faa960f9e56597.

--
Ticket URL: <https://code.djangoproject.com/ticket/34612#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages