def distribution_report():
 def prep(r):
  r.method = 'report'
  return True
 s3.prep = prep
 return s3_rest_controller('supply', 'distribution')

def distribution_report ( ) : def prep ( r ) : r . method = 'report' return True s3 . prep = prep return s3_rest_controller ( 'supply' , 'distribution' )
restful crud controller for supply distributions - limited to just seeing aggregated data for differential permissions .