Enable mongokit's "Dot notation"
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Mon, 14 Nov 2011 13:21:06 +0000 (14:21 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Tue, 15 Nov 2011 10:32:13 +0000 (11:32 +0100)
commit7cbddc96a85410c14583b598312e40efe6051a44
tree83c922eeb3af43d3efc08ef9cccede4917824ca0
parenta9c7af90408c3537f42763e63862a2ae44bcc368
Enable mongokit's "Dot notation"

mongokit documents can allow to use x.FIELD instead of
x["FIELD"].
First it looks a lot more pythonic.
Second it might allow us an easier migration path towards
an sqlalchemy database backend.

Docs: http://namlook.github.com/mongokit/tutorial.html#dot-notation
mediagoblin/db/models.py