You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fabware edited this page Sep 13, 2010
·
2 revisions
import ssl
import couchdbkit.resource
from couchdbkit import Server
res = couchdbkit.resource.CouchdbResource(SERVER_URI, filters=[BasicAuth(SERVER_USER, SERVER_PASSWORD)],
ca_certs=CA_CERTS_PATH, ca_reqs=ssl.CERT_REQUIRED)
server = Server(SERVER_URI, resource_instance=res)
db = server[DB_NAME]