@require_GET
def wiki_rows(request, readout_slug):
 product = _get_product(request)
 readout = _kb_readout(request, readout_slug, READOUTS, locale=request.GET.get('locale'), mode=smart_int(request.GET.get('mode'), None), product=product)
 max_rows = smart_int(request.GET.get('max'), fallback=None)
 return HttpResponse(readout.render(max_rows=max_rows))

@ require_GET def wiki_rows ( request , readout_slug ) : product = _get_product ( request ) readout = _kb_readout ( request , readout_slug , READOUTS , locale = request . GET . get ( 'locale' ) , mode = smart_int ( request . GET . get ( 'mode' ) , None ) , product = product ) max_rows = smart_int ( request . GET . get ( 'max' ) , fallback = None ) return HttpResponse ( readout . render ( max_rows = max_rows ) )
return the table contents html for the given readout and mode .