#35234: ExclusionConstraint.expressions should be checked for foreign
relationship
references
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: closed
Component: contrib.postgres | Version: 5.0
Severity: Normal | Resolution: fixed
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 Stian Jensen):
After upgrading to Django 5.1 we are now getting lots of this message when
running migrate:
"CheckConstraint.check is deprecated in favor of `.condition`."
The upgrade notes or documentation does not seem to say what the migration
path is supposed to be, as just changing the code still leaves violating
code in old migrations. Are we supposed to also change old migrations to
the new syntax?
--
Ticket URL: <https://code.djangoproject.com/ticket/35234#comment:15>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/010701929ff3c574-9423bd2d-3a2e-486d-b561-a2538169b152-000000%40eu-central-1.amazonses.com.