# HG changeset patch # User Sylvain Thénault # Date 1253187401 -7200 # Node ID 266d31e7afa09e1fcab003923ac926af9c6f3cf3 # Parent 19c1011736a63c9981e82496941337f7d4b16133 skip SYSTEM_RTYPES by default in schema view diff -r 19c1011736a6 -r 266d31e7afa0 web/views/schema.py --- a/web/views/schema.py Thu Sep 17 13:21:13 2009 +0200 +++ b/web/views/schema.py Thu Sep 17 13:36:41 2009 +0200 @@ -14,7 +14,7 @@ from cubicweb.selectors import (implements, yes, match_user_groups, has_related_entities) -from cubicweb.schema import META_RTYPES, SCHEMA_TYPES +from cubicweb.schema import META_RTYPES, SCHEMA_TYPES, SYSTEM_RTYPES from cubicweb.schemaviewer import SchemaViewer from cubicweb.view import EntityView, StartupView from cubicweb.common import tags, uilib @@ -23,7 +23,7 @@ from cubicweb.web.views import primary, baseviews, tabs, management ALWAYS_SKIP_TYPES = BASE_TYPES | SCHEMA_TYPES -SKIP_TYPES = ALWAYS_SKIP_TYPES | META_RTYPES +SKIP_TYPES = ALWAYS_SKIP_TYPES | META_RTYPES | SYSTEM_RTYPES SKIP_TYPES.update(set(('Transition', 'State', 'TrInfo', 'CWUser', 'CWGroup', 'CWCache', 'CWProperty', 'CWPermission',