Exemplo n.º 1
0
 def __init__(self):
     self.mongo = _default_mongo_db()
Exemplo n.º 2
0
 def __init__(self):
     self.mongo = _default_mongo_db()
Exemplo n.º 3
0
def get_db_names():
    results = _default_mongo_db().database_names()
    return [r for r in results if r.startswith('news')]
Exemplo n.º 4
0
def get_db_names():
    results = _default_mongo_db().database_names()
    return [r for r in results if r.startswith('news')]