示例#1
0
文件: admin.py 项目: missundaztood/fc
def game_history():
    gs = [scheds.from_row(s) for s in scheds.find_dones(scheds.TYPE_GAME)]
    ys, gs = schedules_group_by_year(gs)
    return render_template('admin/game_history.html', years=ys, games=gs)
示例#2
0
文件: admin.py 项目: missundaztood/fc
def event_history():
    es = [scheds.from_row(s) for s in scheds.find_dones(scheds.TYPE_EVENT)]
    ys, es = schedules_group_by_year(es)
    return render_template('admin/event_history.html', years=ys, events=es)
示例#3
0
文件: admin.py 项目: missundaztood/fc
def practice_history():
    ps = [scheds.from_row(s) for s in scheds.find_dones(scheds.TYPE_PRACTICE)]
    ys, ps = schedules_group_by_year(ps)
    return render_template('admin/practice_history.html', years=ys, practices=ps)