MongoEngine/flask-mongoengine — pull request #28 by wojcikstefan (2012-12-06 05:09:50+00:00)
Title: Use camelCase for replicaSet key in connection settings

In MongoEngine, the `ReplicaSetConnection` class is chosen `if 'replicaSet' in conn_settings`, but Flask-MongoEngine lowers the case for all conn_settings' keys. This pull request offers an explicit fix, changing `replicaset` to `replicaSet`, if the key is present in `conn_settings`.

I haven't checked, if there are any other case-sensitive settings.