#30163: UserCreationForm's error_messages for 'password1' and 'password2' can't
be
overidden by form's Meta.error_essages
------------------------------+--------------------------------------
Reporter: Oskar Haller | Owner: nobody
Type: Bug | Status: closed
Component: contrib.auth | Version: 2.1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by Tim Graham):
* status: new => closed
* component: Uncategorized => contrib.auth
* resolution: => invalid
Comment:
`error_messages` is a dictionary of model field names mapped to a
dictionary of error messages. It doesn't work for non-model fields like
`password1` and `password2`.
--
Ticket URL: <https://code.djangoproject.com/ticket/30163#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/062.2a0d1df707e3db885dda4ef9d0aeaaf7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.