jarus/flask-mongokit — pull request #3 by davidovich (2012-03-09 21:54:43+00:00)
Title: Add Document decorator support; add access to underlying mongo_db.

Sorry if this pull request has two changes, I was fooled by the repo reorganisation and did not know how to re-separate my changes.

* Added support for decorating documents, as can be done in mongokit. Usage:

```python
@db.register
class MyDoc(Document)
pass
```

* Added support for fetching the wrapped mongo_db object