

def donor():
    ' RESTful CRUD controller '
    tablename = 'org_donor'
    table = s3db[tablename]
    tablename = 'org_donor'
    s3.crud_strings[tablename] = Storage(label_create=ADD_DONOR, title_display=T('Donor Details'), title_list=T('Donors Report'), title_update=T('Edit Donor'), label_list_button=T('List Donors'), label_delete_button=T('Delete Donor'), msg_record_created=T('Donor added'), msg_record_modified=T('Donor updated'), msg_record_deleted=T('Donor deleted'), msg_list_empty=T('No Donors currently registered'))
    s3db.configure(tablename, listadd=False)
    output = s3_rest_controller()
    return output

dataset/ETHPy150Open sahana/eden/controllers/org.py donor/original