omab/django-social-auth — pull request #181 by vbsteven (2011-11-18 09:07:27+00:00)
Title: Override get_user() in SocialAuthBackend so it supports returning users from a custom user model 

Related to this issue https://github.com/omab/django-social-auth/issues/180

This patch fixes the problem where django session/auth middleware would load django.contrib.auth.User models even when a custom user model was specified in SOCIAL_AUTH_USER_MODEL.