web/uicfg.py
branchstable
changeset 7897 defac26f4151
parent 7825 7e8c6a7e013e
child 7990 a673d1d9a738
--- a/web/uicfg.py	Thu Sep 29 15:28:41 2011 +0200
+++ b/web/uicfg.py	Fri Sep 30 11:15:40 2011 +0200
@@ -30,6 +30,16 @@
       * ``schema``
       * ``subobject`` (not displayed by default)
 
+   By default only entities on the ``application`` category are shown.
+
+.. sourcecode:: python
+
+    from cubicweb.web import uicfg
+    # force hiding
+    uicfg.indexview_etype_section['HideMe'] = 'subobject'
+    # force display
+    uicfg.indexview_etype_section['ShowMe'] = 'application'
+
 
 Actions box configuration
 `````````````````````````