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