def save(self, *args, **kwargs ): self.schema = getFullPath( self , 'parentCategory', 'nom', 'schema' ) super(Category2, self).save(*args, **kwargs)
def fullPath(self): return getFullPath( self , 'parentCategory', 'nom', 'fullPath' )