class documentation

class CommonPasswordValidator:

View In Hierarchy

Validate whether the password is a common password.

The password is rejected if it occurs in a provided list of passwords, which may be gzipped. The list Django ships with contains 20000 common passwords (lowercased and deduplicated), created by Royce Williams: https://gist.github.com/roycewilliams/281ce539915a947a23db17137d91aeb7 The password list must be lowercased to match the comparison in validate().

Method __init__ Undocumented
Method get​_help​_text Undocumented
Method validate Undocumented
Instance Variable passwords Undocumented
Property DEFAULT​_PASSWORD​_LIST​_PATH Undocumented
def __init__(self, password_list_path=DEFAULT_PASSWORD_LIST_PATH):

Undocumented

def get_help_text(self):

Undocumented

def validate(self, password, user=None):

Undocumented

passwords =

Undocumented

@cached_property
DEFAULT_PASSWORD_LIST_PATH =

Undocumented