view.py
changeset 2418 8f06e4f02733
parent 2312 af4d8f75c5db
child 2468 93853b6f3bad
equal deleted inserted replaced
2417:18a14c23413c 2418:8f06e4f02733
   332     """
   332     """
   333     __select__ = none_rset() | non_final_entity()
   333     __select__ = none_rset() | non_final_entity()
   334 
   334 
   335     default_rql = None
   335     default_rql = None
   336 
   336 
   337     def __init__(self, req, rset, **kwargs):
   337     def __init__(self, req, rset=None, **kwargs):
   338         super(EntityStartupView, self).__init__(req, rset, **kwargs)
   338         super(EntityStartupView, self).__init__(req, rset, **kwargs)
   339         if rset is None:
   339         if rset is None:
   340             # this instance is not in the "entityview" category
   340             # this instance is not in the "entityview" category
   341             self.category = 'startupview'
   341             self.category = 'startupview'
   342 
   342