Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Bind an app to a CouchDBKit instance and initialize the database.

:param app: The application to which the CouchDBKit instance should be
bound.

src/f/l/flask-couchdbkit-HEAD/tests/test_couchdbkit.py   flask-couchdbkit(Download)
    def test_late_initialization(self):
        self.couchdb = CouchDBKit()
        self.couchdb.init_app(self.app)
        with self.app.app_context():
            self.assertTrue(self.couchdb.db.server.all_dbs().index('test_db_2'))