doc/book/en/intro/tutorial/create-cube.rst
changeset 4450 8000abf9c9d3
parent 4446 a413fac5ff5e
child 4936 a4b772a0d801
equal deleted inserted replaced
4449:0411dca43e05 4450:8000abf9c9d3
    12 
    12 
    13 Create the directory to hold the code of your cube. The most important files that will be useful to customize your newly created cube are:
    13 Create the directory to hold the code of your cube. The most important files that will be useful to customize your newly created cube are:
    14   * schema.py: contains the data model
    14   * schema.py: contains the data model
    15   * views.py: contains your custom views
    15   * views.py: contains your custom views
    16   * entities.py: contains XXX 
    16   * entities.py: contains XXX 
       
    17 
    17 The detailed structure of the code directory is described in :ref:`cubelayout`.
    18 The detailed structure of the code directory is described in :ref:`cubelayout`.
    18 
    19 
    19 2. :ref:`DefineDataModel`
    20 2. :ref:`DefineDataModel`
    20 
    21 
    21 Define the data model of your application.
    22 Define the data model of your application.
   387 	     self.w(u'<image src="http://www.cubicweb.org/doc/en/_static/cubicweb.png"/>')
   388 	     self.w(u'<image src="http://www.cubicweb.org/doc/en/_static/cubicweb.png"/>')
   388 	 super(BlogEntryPrimaryView, self).render_entity_title(entity)
   389 	 super(BlogEntryPrimaryView, self).render_entity_title(entity)
   389 
   390 
   390 Then each blog entry whose title contains 'CW' is shown with the CubicWeb logo in front of it.
   391 Then each blog entry whose title contains 'CW' is shown with the CubicWeb logo in front of it.
   391 
   392 
   392 .. _UpdatingSchemaAndSynchronisingInstance
   393 .. _UpdatingSchemaAndSynchronisingInstance:
   393 
   394 
   394 Updating the schema and synchronising the instance
   395 Updating the schema and synchronising the instance
   395 --------------------------------------------------
   396 --------------------------------------------------
   396 
   397 
   397 While developping your cube, you may want to update your data model. Let's say you
   398 While developping your cube, you may want to update your data model. Let's say you