Password validator custom error messages
We would like to make it easier to customize the error messages raised by password validators.
Instead of having to override whole methods, could we put the error messages on the class as attributes, so we would only have to override that attribute for each class?
See the forum thread for discussion.
Note: ticket 34116 is a related ticket that was closed as wontfix, but it was asking for being able to pass the custom error messages through the settings, which is not what this ticket is suggesting.
Change History
(13)
Component: |
Uncategorized → contrib.auth
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Cleanup/optimization
|
Version: |
5.0 → dev
|
Owner: |
set to bcail
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Makes sense to me.