@csrf_exempt
def default_render_failure(request, message, status=403, template_name='extauth_failure.html', exception=None):
 log.debug(('In openid_failure ' + message))
 data = render_to_string(template_name, dict(message=message, exception=exception))
 return HttpResponse(data, status=status)

@ csrf_exempt def default_render_failure ( request , message , status = 403 , template_name = 'extauth_failure.html' , exception = None ) : log . debug ( ( 'In openid_failure ' + message ) ) data = render_to_string ( template_name , dict ( message = message , exception = exception ) ) return HttpResponse ( data , status = status )
render an error page to the user .