#35693: Password validators aren't callable
-------------------------------------+-------------------------------------
Reporter: iamkorniichuk | Type:
| Cleanup/optimization
Status: new | Component:
| contrib.auth
Version: 5.1 | Severity: Normal
Keywords: validator,password | Triage Stage:
validator,callable | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
By default validating fields use this syntax {{{validator(value)}}} but
password validators don't implement {{{.__call__()}}}. Therefore making
them unusable outside of {{{validate_password()}}}.
This is small change doesn't change any behavior but add support for
intuitive approach to password validators.
--
Ticket URL: <https://code.djangoproject.com/ticket/35693>
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/010701916f409170-f2ea0e42-5240-4a3a-b4a0-cd2b5493c92e-000000%40eu-central-1.amazonses.com.