doc/tutorials/advanced/part01_create-cube.rst
changeset 12394 e847b5d1ffff
parent 12393 ea198374785b
child 12402 e4da2575ac37
equal deleted inserted replaced
12393:ea198374785b 12394:e847b5d1ffff
    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):