def render_panel(request):
 toolbar = DebugToolbar.fetch(request.GET[u'store_id'])
 if (toolbar is None):
  content = _(u"Data for this panel isn't available anymore. Please reload the page and retry.")
  content = (u'<p>%s</p>' % escape(content))
 else:
  panel = toolbar.get_panel_by_id(request.GET[u'panel_id'])
  content = panel.content
 return HttpResponse(content)

def render_panel ( request ) : toolbar = DebugToolbar . fetch ( request . GET [ u'store_id' ] ) if ( toolbar is None ) : content = _ ( u"Data for this panel isn't available anymore. Please reload the page and retry." ) content = ( u'<p>%s</p>' % escape ( content ) ) else : panel = toolbar . get_panel_by_id ( request . GET [ u'panel_id' ] ) content = panel . content return HttpResponse ( content )
render the contents of a panel .