doc/tutorials/advanced/part01_create-cube.rst
branch3.26
changeset 12459 dc793c6ebc48
parent 12458 e5610bdda5b2
child 12402 e4da2575ac37
equal deleted inserted replaced
12458:e5610bdda5b2 12459:dc793c6ebc48
    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):