Skip to content

Commit

Permalink
MD5 password hasher. Speeds up tests a bit (15->13s on my machine)
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Jun 25, 2024
1 parent 2ac9b33 commit 96771da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,8 @@ def __mod__(self, other):
USE_L10N = False

STATIC_URL = '/static/'


PASSWORD_HASHERS = [
"django.contrib.auth.hashers.MD5PasswordHasher",
]

0 comments on commit 96771da

Please sign in to comment.