marrow/WebCore — pull request #91 by aGHz (2012-05-07 03:56:22+00:00)
Title: Added support for MongoEngine connection alias

You need this if you want multiple simultaneous MongoEngine connections.

One issue is that the middleware goes through the model module's __all__ and adds the alias to every class's _meta['db_alias'], which is a MongoEngine private. I like this for myself cause it's easy, I don't have to add a `meta = {'db_alias': alias}` to every model class, but it might not be appropriate for WebCore as a framework, because of black magic. Your call.