web/views/primary.py
changeset 3377 dd9d292b6a6d
parent 3072 6fb42c53f6df
child 3451 6b46d73823f5
--- a/web/views/primary.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/primary.py	Wed Sep 23 09:29:39 2009 +0200
@@ -20,7 +20,7 @@
 
 class PrimaryView(EntityView):
     """the full view of an non final entity"""
-    id = 'primary'
+    __regid__ = 'primary'
     title = _('primary')
     show_attr_label = True
     show_rel_label = True
@@ -204,7 +204,7 @@
 
 
 class RelatedView(EntityView):
-    id = 'autolimited'
+    __regid__ = 'autolimited'
     def call(self, title=None, **kwargs):
         # if not too many entities, show them all in a list
         maxrelated = self.req.property_value('navigation.related-limit')