Select MD5 (faster) password hasher for tests
In the timeline project this reduced test time by 10%.
This commit is contained in:
parent
25bf90cefd
commit
7fffd6cbae
|
|
@ -34,3 +34,8 @@ class DisableMigrations(dict):
|
|||
|
||||
|
||||
MIGRATION_MODULES = DisableMigrations()
|
||||
|
||||
# Select faster password hasher during tests
|
||||
PASSWORD_HASHERS = [
|
||||
"django.contrib.auth.hashers.MD5PasswordHasher",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -26,3 +26,8 @@ REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {
|
|||
}
|
||||
|
||||
RATELIMIT_ENABLE = False
|
||||
|
||||
# Select faster password hasher during tests
|
||||
PASSWORD_HASHERS = [
|
||||
"django.contrib.auth.hashers.MD5PasswordHasher",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue