#34296: Formset validation does not consider UniqueConstraint with F() expressions.
-------------------------------------+-------------------------------------
Reporter: Jannis Vajen | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: formset, | Triage Stage: Accepted
constraints |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => duplicate
* stage: Unreviewed => Accepted
Comment:
Thanks for the ticket. `UniqueConstraint` with `expressions` are ignored
on purpose, see #33335, however we could include constraints that only use
`F()`-expressions.
Duplicate of #23964.
--
Ticket URL: <https://code.djangoproject.com/ticket/34296#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.