Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 8dd8400f7eb7a4cf0a2e1a0c6cd3e5825ac94be7 1 parent 6a8f95d
@aaugustin aaugustin authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/test_sqlite.py
View
5 tests/test_sqlite.py
@@ -22,9 +22,8 @@
}
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.
+
+# Use a fast hasher to speed up tests.
PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher',
)

0 comments on commit 8dd8400

Please sign in to comment.
Something went wrong with that request. Please try again.