doc/tutorials/advanced/part04_ui-base.rst
changeset 12556 d1c659d70368
parent 12534 e0e7d8ca051f
child 12926 c829cace0172
equal deleted inserted replaced
12555:4892e0e48556 12556:d1c659d70368
   172 content. Here's the code, that I've put in our cube's :file:`entities.py` file, since
   172 content. Here's the code, that I've put in our cube's :file:`entities.py` file, since
   173 it's more logical stuff than view stuff:
   173 it's more logical stuff than view stuff:
   174 
   174 
   175 .. sourcecode:: python
   175 .. sourcecode:: python
   176 
   176 
   177     from cubes.folder import entities as folder
   177     from cubicweb_folder import entities as folder
   178 
   178 
   179 
   179 
   180     class FolderITreeAdapter(folder.FolderITreeAdapter):
   180     class FolderITreeAdapter(folder.FolderITreeAdapter):
   181 
   181 
   182         def different_type_children(self, entities=True):
   182         def different_type_children(self, entities=True):