Skip to content
alabid edited this page Aug 7, 2012 · 6 revisions

Models for your whirlwind application should be placed in application/models. By default, whirlwind stores data persistently in mongodb, a no-sql database. Mongodb is accessed via MongoKit. Whirlwind's model structuring is highly dependent on MongoKit, a python module that "brings structured schema and validation layer on top of the great pymongo driver".

Check out the MongoKit documentation here.

Creating a new Model

Interacting with the Model

  • Db transactions?
  • How does the DB transactions hapen
  • How do you save stuff in the model?

Clone this wiki locally