a example project in http://www.pythondoc.com/flask-mega-tutorial/