Пример #1
0
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
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
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)