def create(self): """ _create_ Overide the base class create to make sure the group exists when adding the user (Note: Overriding wipes out decorators...) """ if not self.couch.documentExists(self.group.document_id): # no group => create group self.group.create() # call base create to make user CouchObject.create(self)