# HG changeset patch # User Laurent Peuch # Date 1549979953 -3600 # Node ID feb60b438c1b27d6ada6bfaa909e132567cd1aa9 # Parent 77342fae06fb93e3e4434d8185395dff3ded617c [doc] always indicate the file in which the code should be put diff -r 77342fae06fb -r feb60b438c1b doc/tutorials/base/customizing-the-application.rst --- a/doc/tutorials/base/customizing-the-application.rst Tue Feb 12 14:58:50 2019 +0100 +++ b/doc/tutorials/base/customizing-the-application.rst Tue Feb 12 14:59:13 2019 +0100 @@ -308,7 +308,7 @@ details in :ref:`primary_view`). -So... Some code! That we'll put again in the module ``views`` of our cube. +So... Some code! That we'll put again in the module ``views`` (``myblog/views.py``) of our cube. .. sourcecode:: python @@ -383,7 +383,7 @@ - defines a :attr:`__regid__` linked to the corresponding data type of your schema You may then want to add your own methods, override default implementation of some -method, etc... +method, etc... To do so, write this code in ``myblog/entities.py``: .. sourcecode:: python @@ -519,6 +519,8 @@ custom rendering but also extension points provided by the default implementation. +In ``myblog/views.py``: + .. sourcecode:: python