dcrosta/flask-pymongo — pull request #17 by tang0th (2012-12-05 20:37:42+00:00)
Title: Use MongoClient and MongoReplicaSetClient

As of PyMongo 2.4 MongoClient and MongoReplicaSetClient are meant to be used instead of Connection and ReplicaSetConnection. This commit changes it. There is one problem, this won't work with PyMongo versions less than 2.4...