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