#36042: Lookups fail when rhs wraps CompositePrimaryKey in F and lhs is another
field
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"e306687a3a5507d59365ba9bf545010e5fd4b2a8" e306687a]:
{{{#!CommitTicketReference repository=""
revision="e306687a3a5507d59365ba9bf545010e5fd4b2a8"
[5.2.x] Refs #36042 -- Consolidated composite expression checks in
BaseExpression.
Remove redundant Func.resolve_expression and adjust CombinedExpression to
delegate source expression resolving to super() to perform checks against
allows_composite_expressions in a single location.
Backport of a76035e925ff4e6d8676c65cb135c74b993b1039 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36042#comment:13>
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/010701948d058667-46231043-6218-4671-b8d2-7b7bd272e62e-000000%40eu-central-1.amazonses.com.