http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-flask-mongoengine/