def share_db():
 client = MongoClient(wiki_settings.SHAREJS_DB_URL)
 return client[wiki_settings.SHAREJS_DB_NAME]

def share_db ( ) : client = MongoClient ( wiki_settings . SHAREJS_DB_URL ) return client [ wiki_settings . SHAREJS_DB_NAME ]
generate db client for sharejs db .