Form fields

django-password-policies provides a form field to validate new passwords:

PasswordPoliciesField

class password_policies.forms.fields.PasswordPoliciesField(*args, **kwargs)

A form field that validates a password using Validators.