def __init__(self, *args, **kwargs): BaseBackend.__init__(self, *args, **kwargs) self.host = settings.MONGODB_HOST self.port = settings.MONGODB_PORT self.collection = settings.DEFAULT_MONGO_COLLECTION self.db = settings.DEFAULT_MONGO_DB
def __init__(self, *args, **kwargs): BaseBackend.__init__(self, *args, **kwargs)