Files added

This commit is contained in:
Fergal Moran
2011-01-07 17:52:03 +00:00
parent b42ee70181
commit d6c081302e
46 changed files with 5718 additions and 0 deletions

9
model/controller.py Normal file
View File

@@ -0,0 +1,9 @@
from pymongo import Connection
import logging
class Controller:
def __init__(self):
self._cn = Connection()
self.DB = self._cn.qrmaker
logging.debug("Created database connection")