Updated an inaccurate comment.

Tests can run nearly as fast under PostgreSQL and MySQL as under SQLite
with a bit of configuration and the speedup is always a good thing.
This commit is contained in:
Aymeric Augustin 2013-02-26 10:00:14 +01:00
parent 6a8f95d812
commit 8dd8400f7e
1 changed files with 2 additions and 3 deletions

View File

@ -22,9 +22,8 @@ DATABASES = {
} }
SECRET_KEY = "django_tests_secret_key" 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 # Use a fast hasher to speed up tests.
# is only marginal there.
PASSWORD_HASHERS = ( PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher', 'django.contrib.auth.hashers.MD5PasswordHasher',
) )