Switch branches/tags
Nothing to show
Find file Copy path
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