예제 #1
0
파일: record.py 프로젝트: CMGS/argonath
def list_all_records():
    records, total = Record.list_records(g.start, g.limit)
    return render_template('list_records.html', records=records,
            total=total, endpoint='record.list_all_records')
예제 #2
0
파일: api.py 프로젝트: ninjadq/argonath
def list_all_records():
    records, _ = Record.list_records(g.start, g.limit)
    return {'r': 0, 'message': 'ok', 'data': records}