view.py
branchstable
changeset 4456 e0ee73794898
parent 4244 2c3de1953d00
child 4459 f628abfb3a6c
equal deleted inserted replaced
4455:6af31772765f 4456:e0ee73794898
   112 
   112 
   113     @property
   113     @property
   114     def paginable(self):
   114     def paginable(self):
   115         if not isinstance(self.__class__.need_navigation, property):
   115         if not isinstance(self.__class__.need_navigation, property):
   116             warn('[3.6] %s.need_navigation is deprecated, use .paginable'
   116             warn('[3.6] %s.need_navigation is deprecated, use .paginable'
   117                  % self.__class__, DeprecationWarninig)
   117                  % self.__class__, DeprecationWarning)
   118             return self.need_navigation
   118             return self.need_navigation
   119         return True
   119         return True
   120 
   120 
   121     def __init__(self, req=None, rset=None, **kwargs):
   121     def __init__(self, req=None, rset=None, **kwargs):
   122         super(View, self).__init__(req, rset, **kwargs)
   122         super(View, self).__init__(req, rset, **kwargs)