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,)
def show_map(): comments = Comment.query.order_by(db.asc(Comment.date)) return render_template('show_map.html', comments=comments,)