new_contents: import pymongo
  from django.conf.settings import MONGO_DB, MONGO_HOST
  
  conn = pymongo.Connection(MONGO_HOST)
  db = conn[MONGO_DB]
  
  class SONWrapper(object):
  	def __init__(self, data, collection, parent=None):
  		self._data = data
  		self._collection = collection
  		self._parent = parent
  	def save(self):
  		if self._parent is None:
  			self._collection.update({'_id': self._id}, self._data)
  		self._parent.save()
  	@property
  	def _id(self):
  		if self._parent is None:
  			return self._data['_id']
  		return self._parent._id
  	def __repr__(self):
  		return "<SONWrapper for %s>" % self._id
  
  
subject: Add accounting/mongo