def serve_403_error(request, *args, **kwargs):
  access_warn(request, "403 access forbidden")
  return render("403.mako", request, dict(uri=request.build_absolute_uri()), status=403)
Registered handler for 403. We just return a simple error
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/views.py/serve_403_error