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
2016-10-09 18:34:28
Comments
Leave a Comment

Please login to continue.