Re: [Django] #34296: Formset validation does not consider UniqueConstraint with F() expressions. (was: Formset validation does not consider models.UniqueConstraint)

2 views
Skip to first unread message

Django

unread,
Jan 27, 2023, 12:39:54 AM1/27/23
to django-...@googlegroups.com
#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.

Reply all
Reply to author
Forward
0 new messages