Skip to content

Commit

Permalink
use list, not tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
chander committed Jan 9, 2024
1 parent 7c68d1f commit a9bd88d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/settings.py
Expand Up @@ -55,14 +55,14 @@
SECRET_KEY = 'verysecret'

# weaker password hashing shoulod allow for faster tests
PASSWORD_HASHERS = (
PASSWORD_HASHERS = [
'django.contrib.auth.hashers.CryptPasswordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.BCryptPasswordHasher',
'django.contrib.auth.hashers.SHA1PasswordHasher',
'django.contrib.auth.hashers.MD5PasswordHasher',
)
]
# Django 5.0 removed this hasher
if DJANGO_VERSION >= DJANGO_42:
PASSWORD_HASHERS.remove('django.contrib.auth.hashers.CryptPasswordHasher')
Expand Down

0 comments on commit a9bd88d

Please sign in to comment.