Esempio n. 1
0
def video_info(video_id):
    notes = [note for note in Note.all().filter('video_id =', video_id)]
    return render_template('video_info.html', video_id=video_id, notes=notes)
Esempio n. 2
0
def home():
    notes = [note for note in Note.all().order('-datetime').run(limit=16)]
    return render_template('index.html', notes=notes)