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