dcrosta/flask-pymongo — pull request #19 by jeverling (2012-12-21 12:44:45+00:00)
Title: Added option MONGO_DOCUMENT_CLASS

Pymongo can be instructed to return custom document classes, instead of dicts.
More information here:

http://api.mongodb.org/python/current/api/pymongo/connection.html#pymongo.connection.Connection.document_class
http://dirolf.com/2010/06/17/pymongo-1.7-released.html

This makes it easy to add functionality to the objects that are returned by Pymongo.