equal
deleted
inserted
replaced
12 |
12 |
13 cubicweb-ctl newcube blog |
13 cubicweb-ctl newcube blog |
14 |
14 |
15 This will create in the cubes directory (``/path/to/forest/cubes`` for Mercurial |
15 This will create in the cubes directory (``/path/to/forest/cubes`` for Mercurial |
16 installation, ``/usr/share/cubicweb/cubes`` for debian packages installation) |
16 installation, ``/usr/share/cubicweb/cubes`` for debian packages installation) |
17 a directory named ``blog`` reflecting the structure described in :ref:`cubesConcepts`. |
17 a directory named ``blog`` reflecting the structure described in :ref:`Concepts`. |
18 |
18 |
19 .. _DefineDataModel: |
19 .. _DefineDataModel: |
20 |
20 |
21 Define your data model |
21 Define your data model |
22 ---------------------- |
22 ---------------------- |
266 Since views are applied to result sets and result sets can be tables of |
266 Since views are applied to result sets and result sets can be tables of |
267 data, we have to recover the entity from its (row,col)-coordinates. |
267 data, we have to recover the entity from its (row,col)-coordinates. |
268 The view has a ``self.w()`` method that is used to output data, in our |
268 The view has a ``self.w()`` method that is used to output data, in our |
269 example HTML output. |
269 example HTML output. |
270 |
270 |
271 You can find more details about views and selectors in :ref:`ViewDefinition`. |
271 .. note:: |
272 |
272 You can find more details about views and selectors in :ref:`ViewDefinition`. |
273 |
273 |
|
274 |