Files
qrmaker/model/controller.py
Fergal Moran d6c081302e Files added
2011-01-07 17:52:03 +00:00

10 lines
211 B
Python

from pymongo import Connection
import logging
class Controller:
def __init__(self):
self._cn = Connection()
self.DB = self._cn.qrmaker
logging.debug("Created database connection")