示例#1
0
def events_en():
    return render_template('events_en.html',
                           lang='en',
                           data=itertools.groupby(events.data, key=by_month),
                           meetups=meetups.get_meetups(lang='en'))
示例#2
0
文件: views.py 项目: messa/python.cz
def events_en():
    return render_template('events_en.html', lang='en',
                           data=itertools.groupby(events.data, key=by_month),
                           meetups=meetups.get_meetups(lang='en'))
示例#3
0
def events_cs():
    return render_template('events_cs.html',
                           data=itertools.groupby(events.data, key=by_month),
                           meetups=meetups.get_meetups())
示例#4
0
文件: views.py 项目: messa/python.cz
def events_cs():
    return render_template('events_cs.html',
                           data=itertools.groupby(events.data, key=by_month),
                           meetups=meetups.get_meetups())