Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use faster password hasher in sqlite tests

Fixed #18163
  • Loading branch information...
commit 0819957eda318205e17591dccd81482701eab25c 1 parent 8fad77d
@akaariai akaariai authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/test_sqlite.py
View
6 tests/test_sqlite.py
@@ -22,3 +22,9 @@
}
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',
+)
Please sign in to comment.
Something went wrong with that request. Please try again.