[Answer]-Can I use an identity hasher for testing?

1👍

Perhaps this is what you’re looking for:
https://docs.djangoproject.com/en/dev/topics/auth/passwords/

Basically, create a subclass of django.contrib.auth.hashers.PBKDF2PasswordHasher and add your new hasher as the first entry in PASSWORD_HASHERS in your settings.

👤janos

Leave a comment