mitsuhiko/flask-sqlalchemy — pull request #115 by mgax (2013-01-02 10:39:58+00:00)
Title: Commit on teardown

A common pattern is to automatically commit the database session when a request is handled, provided no exception was raised.