equal
deleted
inserted
replaced
111 |
111 |
112 You have the possibility to redefine whatever pleases you, as follow: |
112 You have the possibility to redefine whatever pleases you, as follow: |
113 |
113 |
114 .. sourcecode:: python |
114 .. sourcecode:: python |
115 |
115 |
116 from cubes.OTHER_CUBE import entities |
116 from cubicweb_OTHER_CUBE import entities |
117 |
117 |
118 class EntityExample(entities.EntityExample): |
118 class EntityExample(entities.EntityExample): |
119 |
119 |
120 def dc_long_title(self): |
120 def dc_long_title(self): |
121 return '%s (%s)' % (self.name, self.description) |
121 return '%s (%s)' % (self.name, self.description) |