author | Julien Jehannet <julien.jehannet@logilab.fr> |
Wed, 16 Sep 2009 16:14:48 +0200 | |
branch | stable |
changeset 3257 | 0d953f0b41c4 |
parent 2539 | 0f26a76b0348 |
permissions | -rw-r--r-- |
Inheritance ----------- When describing a data model, entities can inherit from other entities as is common in object-oriented programming. You have the possibility to adapt some entity attributes, as follow: .. sourcecode:: python from cubes.OTHER_CUBE import entities class EntityExample(entities.EntityExample): def dc_long_title(self): return '%s (%s)' % (self.name, self.description) XXX WRITME