Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Module "django.contrib.auth.hashers" does not define a "BcryptPasswordHasher" attribute/class

PASSWORD_HASHERS = [
    'django.contrib.auth.hashers.PBKDF2PasswordHasher',
    'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
    'django.contrib.auth.hashers.Argon2PasswordHasher',
    'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
]
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #Module #define
ADD COMMENT
Topic
Name
7+3 =