web/action.py
branchtls-sprint
changeset 768 878e6139a46b
parent 767 b094cf8535b4
child 782 01801a10c567
equal deleted inserted replaced
767:b094cf8535b4 768:878e6139a46b
    93                               __linkto=linkto,
    93                               __linkto=linkto,
    94                               __redirectpath=current_entity.rest_path(), # should not be url quoted!
    94                               __redirectpath=current_entity.rest_path(), # should not be url quoted!
    95                               __redirectvid=self.req.form.get('__redirectvid', ''))
    95                               __redirectvid=self.req.form.get('__redirectvid', ''))
    96 
    96 
    97 class EntityAction(Action):
    97 class EntityAction(Action):
    98     """DEPRECATED / BACKWARD COMPAT"""
    98     """DEPRECATED / BACKWARD COMPAT
    99     registered = deprecate(accepts_compat(condition_compat(Action.registered)),
    99     """
       
   100     registered = deprecate(condition_compat(accepts_compat(Action.registered)),
   100                            msg='EntityAction is deprecated, use Action with '
   101                            msg='EntityAction is deprecated, use Action with '
   101                            'appropriate selectors')
   102                            'appropriate selectors')
   102     
   103