Overview

Features

django-password-policies is an application for the Django framework that

  • provides a form field and forms that handle the validation of unicode passwords using different validators, see Validators.
  • checks that passwords containing unicode characters conform to RFC 4013, including checks for
    • bidirectional characters and
    • invalid unicode characters.
  • verifies if passwords contain
    • consecutive repetitions of the same characters,
    • common sequences,
    • dictionary words, using
  • verifies that a new password is not too similar to an old one when a user changes his/her password.
  • verifies that a new password is not equal to an email address.
  • implements a password history for users making it possible to check if users try to use passwords again.
  • uses Django‘s cryptographic signing API to generate one-time secret URLs for password resets.