Example code for the 'Flaskr' Flask app by Armin Ronacher