Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 243 Bytes
from couchdb import Server
# Go to http://localhost:5984/_utils to create the database.
def create(dbname, username, password, type='user'):
db = Server()[dbname]
db.create({'type': type, 'username': username, 'password': password})
Jump to Line
Something went wrong with that request. Please try again.