

def failure_handler(request, message, status=None, template_name=None, exception=None):
    context = {
        'allowed_domains': getattr(django_settings, 'OPENID_RESTRICT_TO_DOMAINS', tuple()),
    }
    return r2r(request, 'login_failed', context)

dataset/ETHPy150Open dropbox/questions/questions/views.py failure_handler/original