view.py
changeset 2418 8f06e4f02733
parent 2312 af4d8f75c5db
child 2468 93853b6f3bad
--- a/view.py	Wed Jul 22 18:33:35 2009 +0200
+++ b/view.py	Wed Jul 22 18:34:00 2009 +0200
@@ -334,7 +334,7 @@
 
     default_rql = None
 
-    def __init__(self, req, rset, **kwargs):
+    def __init__(self, req, rset=None, **kwargs):
         super(EntityStartupView, self).__init__(req, rset, **kwargs)
         if rset is None:
             # this instance is not in the "entityview" category