Exemplo n.º 1
0
 def __init__(self, **options):
     CouchObject.__init__(self)
     self.cdb_document_data = "group"
     self.setdefault('name', None)
     self.setdefault('administrators', [])
     self.setdefault('associated_sites', {})
     self.update(options)
Exemplo n.º 2
0
 def __init__(self, **options):
     CouchObject.__init__(self)
     self.cdb_document_data = "group"
     self.setdefault('name', None)
     self.setdefault('administrators', [])
     self.setdefault('associated_sites', {})
     self.update(options)
Exemplo n.º 3
0
 def __init__(self, **options):
     CouchObject.__init__(self)
     self.cdb_document_data = "user"
     self.setdefault('name', None)
     self.setdefault('proxy', {})
     self.couch_url = None
     self.couch_db = None
     self.group = None
     self.update(options)
Exemplo n.º 4
0
 def __init__(self, **options):
     CouchObject.__init__(self)
     self.cdb_document_data = "user"
     self.setdefault('name', None)
     self.setdefault('proxy', {})
     self.couch_url = None
     self.couch_db = None
     self.group = None
     self.update(options)
Exemplo n.º 5
0
 def __init__(self):
     CouchObject.__init__(self)
     self.cdb_document_data = "testicle"
     self.setdefault("name", "noname")
     self.setdefault("Right", "Nut")
     self.setdefault("Left", "Nut")
Exemplo n.º 6
0
 def __init__(self):
     CouchObject.__init__(self)
     self.cdb_document_data = "testicle"
     self.setdefault("name", "noname")
     self.setdefault("Right", "Nut")
     self.setdefault("Left", "Nut")