From 40a9b76772411c2e97674ba103b3b8396db4c068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20Ha=CC=88kli?= Date: Sun, 10 Feb 2019 19:38:03 +0200 Subject: [PATCH] Use a faster password hasher for testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aleksi Häkli --- axes/test_settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/axes/test_settings.py b/axes/test_settings.py index 1977249..77b2b04 100644 --- a/axes/test_settings.py +++ b/axes/test_settings.py @@ -28,6 +28,10 @@ AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', ) +PASSWORD_HASHERS = [ + 'django.contrib.auth.hashers.MD5PasswordHasher', +] + ROOT_URLCONF = 'axes.test_urls' INSTALLED_APPS = (