def _password_validators_help_text_html(password_validators=None):
 help_texts = password_validators_help_texts(password_validators)
 help_items = [format_html('<li>{}</li>', help_text) for help_text in help_texts]
 return (('<ul>%s</ul>' % ''.join(help_items)) if help_items else '')

def _password_validators_help_text_html ( password_validators = None ) : help_texts = password_validators_help_texts ( password_validators ) help_items = [ format_html ( '<li>{}</li>' , help_text ) for help_text in help_texts ] return ( ( '<ul>%s</ul>' % '' . join ( help_items ) ) if help_items else '' )
return an html string with all help texts of all configured validators in an <ul> .