#35234: ExclusionConstraint.expressions should be checked for foreign relationship references -------------------------------------+------------------------------------- Reporter: Simon Charette | Owner: Simon Type: | Charette Cleanup/optimization | Status: assigned Component: contrib.postgres | Version: 5.0 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Simon Charette):
Adjusted the MR to this effect by adding a commit that deprecates `CheckConstraint.check` in favour of `.condition`. The only part that might be another set of eyes is the `stacklevel` which I haven't confirmed is exactly what it should be for the warning to point at `CheckConstraint(...)` and `.check` interactions. -- Ticket URL: <https://code.djangoproject.com/ticket/35234#comment:10> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018de4033a14-f3717ac6-478f-4486-97ba-8ac1d3cc86b0-000000%40eu-central-1.amazonses.com.