@app.route('/vote_up/<this_record>')
def vote_up(this_record):
    if already_voted_for(this_record):
        pass
AJAX for updating Flask template after data goes from link action or form to mongodb collection