#8913: Make the "must be unique" error messages in ModelForms customizable
-------------------------------------+-------------------------------------
Reporter: Alexander_Nesterov | Owner:
Type: Bug | leahculver
Component: Forms | Status: closed
Severity: Normal | Version: master
Keywords: forms, unique, | Resolution: fixed
validation | Triage Stage: Ready for
Has patch: 0 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 1
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):
* status: reopened => closed
* resolution: => fixed
Comment:
I would suggest to open a new ticket, as allowing the message to be set on
the form level is a different story. Currently, validate_unique may
produce several errors to pass to !ValidationError, so we cannot simply
set code and params to be able to catch it at the form level.
--
Ticket URL: <https://code.djangoproject.com/ticket/8913#comment:17>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.