@app.route('<STR_LIT>', methods=['<STR_LIT:POST>'])<EOL>def add_entry():
name, msg = flask.request.form['<STR_LIT:name>'], flask.request.form['<STR_LIT:message>']<EOL>flask.g.db.execute(<EOL>'<STR_LIT>', (name, msg))<EOL>flask.g.db.commit()<EOL>return flask.redirect('<STR_LIT:/>')<EOL>
Adds single guestbook record.