equal
deleted
inserted
replaced
94 |
94 |
95 |
95 |
96 Step 4: glue everything together in my cube's schema |
96 Step 4: glue everything together in my cube's schema |
97 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
97 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
98 |
98 |
|
99 Put this code in :file:`cubicweb-sytweb/cubicweb_sytweb/schema.py`: |
|
100 |
99 .. sourcecode:: python |
101 .. sourcecode:: python |
100 |
102 |
101 from yams.buildobjs import RelationDefinition |
103 from yams.buildobjs import RelationDefinition |
102 |
104 |
103 class comments(RelationDefinition): |
105 class comments(RelationDefinition): |