Skip to content

Commit c5eb5b6

Browse files
authored
use MD5 hasher under test (#130)
1 parent 412d7dd commit c5eb5b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

project/config/settings/test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
}
2626
}
2727

28+
# PASSWORDS
29+
# ------------------------------------------------------------------------------
30+
# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
31+
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
32+
2833
# TEMPLATES
2934
# ------------------------------------------------------------------------------
3035
TEMPLATES[0]["OPTIONS"]["loaders"] = [ # noqa F405

0 commit comments

Comments
 (0)