Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 259 Bytes
"""Make sure django.contrib.auth monkeypatching happens on load."""
from django.conf import settings
# If we don't have password hashers, we need to monkey patch the auth module.
if not hasattr(settings, 'PASSWORD_HASHERS'):
from django_sha2 import auth
Jump to Line
Something went wrong with that request. Please try again.