Handle CheckConstraint.check -> condition.
Review Request #14743 — Created Dec. 22, 2025 and updated
Django 5.1 renamed the
checkargument/field insideCheckConstraint
tocondition, and 6.0 removed thecheckargument entirely. This
change adds a support flag and conditions to handle these updates. The
ChangeMetaandConstraintSignatureobjects have been updated to
normalize old evolutions and signatures appropriately.
Ran unit tests.
| Summary | ID |
|---|---|
| nnsntwsplxpzozktqypmupvyxlqxrqyn |
| Description | From | Last Updated |
|---|---|---|
|
) should be on the next line, with a comma on this line. |
|
|
|
This can be one statement. |
|
|
|
This can also be one statement. |
|
|
|
These, too. |
|
|
|
) should be on the next line, with a comma on this line. |
|
|
|
This can be one statement. |
|
|
|
line too long (81 > 79 characters) Column: 80 Error code: E501 |
|
- Summary:
-
Handle CheckConstraint.check -> conditionHandle CheckConstraint.check -> condition.
- Description:
-
Django 5.1 renamed the
checkargument/field insideCheckConstraintto condition, and 6.0 removed thecheckargument entirely. This~ change adds a support flag and conditions to handle these updates. ~ change adds a support flag and conditions to handle these updates. The + ChangeMetaandConstraintSignatureobjects have been updated to+ normalize old evolutions and signatures appropriately. - Commits:
-
Summary ID nnsntwsplxpzozktqypmupvyxlqxrqyn nnsntwsplxpzozktqypmupvyxlqxrqyn