equal
deleted
inserted
replaced
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): |