def beneficiary():
 s3db.configure('project_beneficiary', deletable=False, editable=False, insertable=False)
 list_btn = A(T('Beneficiary Report'), _href=URL(c='project', f='beneficiary', args='report', vars=get_vars), _class='action-btn')
 return s3_rest_controller(hide_filter=False)

def beneficiary ( ) : s3db . configure ( 'project_beneficiary' , deletable = False , editable = False , insertable = False ) list_btn = A ( T ( 'Beneficiary Report' ) , _href = URL ( c = 'project' , f = 'beneficiary' , args = 'report' , vars = get_vars ) , _class = 'action-btn' ) return s3_rest_controller ( hide_filter = False )
restful crud controller .