web/views/error.py
changeset 3377 dd9d292b6a6d
parent 1977 606923dff11b
child 3451 6b46d73823f5
--- a/web/views/error.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/error.py	Wed Sep 23 09:29:39 2009 +0200
@@ -11,7 +11,7 @@
 from cubicweb.view import StartupView
 
 class FourOhFour(StartupView):
-    id = '404'
+    __regid__ = '404'
 
     def call(self):
         _ = self.req._
@@ -19,7 +19,7 @@
 
 
 class ErrorOccured(StartupView):
-    id = '500'
+    __regid__ = '500'
 
     def call(self):
         _ = self.req._