#36580: Model validation of constraints fails if condition's Q object references
ForeignObject
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner:
| JaeHyuckSa
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 Natalia <124304+nessita@…>):
In [changeset:"0fa339ce71bae6f9cebe341876f6aa41840ca2ff" 0fa339c]:
{{{#!CommitTicketReference repository=""
revision="0fa339ce71bae6f9cebe341876f6aa41840ca2ff"
[6.0.x] Fixed #36611, Refs #36580 -- Added system check for multicolumn
ForeignObject in Meta.indexes/constraints/unique_together.
ForeignObjects with multiple `from_fields` are not supported in these
options.
Co-authored-by: Jacob Walls <[email protected]>
Co-authored-by: Natalia <[email protected]>
Backport of 5b51e6f759f2ba993219347435149173c756c478 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36580#comment:19>
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/01070199deb5e5ab-050d1fee-4360-465f-b6fe-281c30365432-000000%40eu-central-1.amazonses.com.