

def get_user(self, user_id):
    try:
        return User.objects.get(pk=user_id)
    except User.DoesNotExist:
        return None

dataset/ETHPy150Open elmcitylabs/ECL-Facebook/examples/django_example/backends.py FBAuthBackend.get_user/original