Beispiel #1
0
def my_events():
    
    comments = Comment.query.filter_by(uid = current_user.get_id()).order_by(db.asc(Comment.date))

    return render_template('my_events.html', comments=comments,)
Beispiel #2
0
def show_map():
    comments = Comment.query.order_by(db.asc(Comment.date))
    
    return render_template('show_map.html', comments=comments,)