Use faster password hasher in sqlite tests

Fixed #18163
This commit is contained in:
Anssi Kääriäinen 2012-04-30 21:40:02 +03:00
parent 8fad77da95
commit 0819957eda
1 changed files with 6 additions and 0 deletions

View File

@ -22,3 +22,9 @@ DATABASES = {
}
SECRET_KEY = "django_tests_secret_key"
# To speed up tests under SQLite we use the MD5 hasher as the default one.
# This should not be needed under other databases, as the relative speedup
# is only marginal there.
PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher',
)