Opened 10 months ago
Last modified 7 days ago
#35358 assigned Cleanup/optimization
Rename BaseConstraint._check() to check()
Description (last modified by ) ¶
Per this comment , BaseConstraint._check()
should be renamed to check()
in Django 6.0 when the deprecation period for BaseConstraint.check
(now .condition
) ends.
According to the ticket's flags, the next step(s) to move this issue forward are:
- For anyone except the patch author to review the patch using the patch review checklist and either mark the ticket as "Ready for checkin" if everything looks good, or leave comments for improvement and mark the ticket as "Patch needs improvement".
Change History (10)
comment:1 by , 10 months ago
Description: | modified (diff) |
---|---|
Keywords: | 6.0 added |
Summary: | Rename BaseConstraint._check to check once the deprecation period → Rename BaseConstraint._check() to check() |
Triage Stage: | Unreviewed → Someday/Maybe |
comment:5 by , 10 months ago
To make it clear, this ticket cannot be worked on until Django 6.0 which will remove the deprecation shim for CheckConstraint.check
in favor of .condition
which will allow BaseConstraint.check
to be reclaimed.
follow-up: 7 comment:6 by , 6 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The above issue has been resolved in the below PR.
https://github.com/django/django/pull/18448
follow-up: 8 comment:7 by , 6 months ago
Resolution: | fixed |
---|---|
Status: | closed → new |
Replying to Sourav6971:
The above issue has been resolved in the below PR.
https://github.com/django/django/pull/18448
Ticket is fixed when PR is merged. Secondly, as Simon already mentioned, this ticket cannot be worked on until Django 6.0. Please work on "Accepted" tickets, not tickets marked as "Someday/maybe".
comment:8 by , 6 months ago
So sorry for not paying attention. Got carried away with the excitement of solving my first issue.
Replying to Mariusz Felisiak:
Replying to Sourav6971:
The above issue has been resolved in the below PR.
https://github.com/django/django/pull/18448
Ticket is fixed when PR is merged. Secondly, as Simon already mentioned, this ticket cannot be worked on until Django 6.0. Please work on "Accepted" tickets, not tickets marked as "Someday/maybe".
comment:10 by , 5 months ago
Please a take a minute to read the context of the ticket; this ticket cannot be worked on until Django 6.0
comment:11 by , 4 months ago
Cc: | added |
---|
comment:12 by , 3 weeks ago
Triage Stage: | Someday/Maybe → Accepted |
---|
For past releases, I put the Django version number in the keywords field and used that Trac query (example).