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
Beispiel #2
0
 def __init__(self, *args, **kwargs):
     BaseBackend.__init__(self, *args, **kwargs)