mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
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:
@@ -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',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user