#23964: Support for Meta.constraints validation in
BaseModelFormSet.validate_unique().
------------------------------+------------------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------
Comment (by Mariusz Felisiak):
As far as I'm aware adding support for `Meta.constraints` validation in
`BaseModelFormSet.validate_unique()` should solve this and related issues
(#28405). It should be feasible to pass all values from the formset via a
constraint definition and check for duplicated rows on the database level.
--
Ticket URL: <https://code.djangoproject.com/ticket/23964#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182a5ebc0f7-1ba9953f-e132-417a-a980-a5f429c2c019-000000%40eu-central-1.amazonses.com.