--
Ticket URL: <https://code.djangoproject.com/ticket/33342>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Hannes Ljungberg):
> Sounds reasonable, maybe we should also deprecate the opclasses
argument.
Yup, that sounds like the proper way forward.
As a side note it would be interesting to look into the possibility of
deprecating the `fields` argument (and by that the `opclasses` argument)
on `Index` and `UniqueConstraint`. It would require us to make
`Index.contains_expressions` and `UniqueConstraint.contains_expressions` a
bit smarter.
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:3>
* has_patch: 0 => 1
Comment:
PR: https://github.com/django/django/pull/15162
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:1>
* stage: Unreviewed => Accepted
Comment:
Sounds reasonable, maybe we should also deprecate the `opclasses`
argument.
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"0e656c02fe945389246f0c08f51c6db4a0849bd2" 0e656c02]:
{{{
#!CommitTicketReference repository=""
revision="0e656c02fe945389246f0c08f51c6db4a0849bd2"
Fixed #33342 -- Added support for using OpClass() in exclusion
constraints.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:4>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"59a66f05126a4f9622f67ac71ccc149c805a6ccd" 59a66f05]:
{{{
#!CommitTicketReference repository=""
revision="59a66f05126a4f9622f67ac71ccc149c805a6ccd"
Refs #33342 -- Deprecated ExclusionConstraint.opclasses.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:5>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"23ec318988cb22bef176b9d81e4091715a4f41ff" 23ec3189]:
{{{
#!CommitTicketReference repository=""
revision="23ec318988cb22bef176b9d81e4091715a4f41ff"
Refs #33342 -- Removed ExclusionConstraint.opclasses per deprecation
timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33342#comment:6>