common/view.py
branchtls-sprint
changeset 683 4f4a34346e9b
parent 661 4f61eb8a96b7
child 685 2538262ffc29
equal deleted inserted replaced
682:d95936d6ce5c 683:4f4a34346e9b
    98     # content_type = 'application/xhtml+xml' # text/xhtml'
    98     # content_type = 'application/xhtml+xml' # text/xhtml'
    99     binary = False
    99     binary = False
   100     add_to_breadcrumbs = True
   100     add_to_breadcrumbs = True
   101     category = 'view'
   101     category = 'view'
   102 
   102 
   103     def __init__(self, req, rset):
   103     def __init__(self, req=None, rset=None):
   104         super(View, self).__init__(req, rset)
   104         super(View, self).__init__(req, rset)
   105         self.w = None
   105         self.w = None
   106 
   106 
   107     @property
   107     @property
   108     def content_type(self):
   108     def content_type(self):