auth.password_validation.password_validators_help_text_html()

password_validators_help_text_html(password_validators=None)

Returns an HTML string with all help texts in an <ul>. This is helpful when adding password validation to forms, as you can pass the output directly to the help_text parameter of a form field.

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.