Flask microblog tutorial from http://flask.pocoo.org/