django-password-policies provides a form field to validate new passwords:
A form field that validates a password using Validators.
Enter search terms or a module, class or function name.