class documentation

class CommonPasswordValidator: (source)

View In Hierarchy

Validate that the password is not 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): (source)

Undocumented

def get_help_text(self): (source)

Undocumented

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

Undocumented

passwords = (source)

Undocumented

@cached_property
DEFAULT_PASSWORD_LIST_PATH = (source)

Undocumented