Skip to content

Commit 9436528

Browse files
matejspn2ygk
andauthored
Update tests/settings.py
Co-authored-by: Alan Crosswell <[email protected]>
1 parent 633da22 commit 9436528

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/settings.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,7 @@
8989
"tests",
9090
)
9191

92-
PASSWORD_HASHERS = [
93-
"django.contrib.auth.hashers.PBKDF2PasswordHasher",
94-
"django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
95-
"django.contrib.auth.hashers.Argon2PasswordHasher",
96-
"django.contrib.auth.hashers.BCryptSHA256PasswordHasher",
97-
"django.contrib.auth.hashers.ScryptPasswordHasher",
98-
"tests.custom_hasher.MyPBKDF2PasswordHasher",
99-
]
100-
92+
+PASSWORD_HASHERS = django.conf.settings.PASSWORD_HASHERS + ["tests.custom_hasher.MyPBKDF2PasswordHasher"]
10193
LOGGING = {
10294
"version": 1,
10395
"disable_existing_loggers": False,

0 commit comments

Comments
 (0)