app/soc/logic/lists.py
changeset 553 c0cc20b4afc9
parent 539 e30462354e26
child 560 a32be584ee04
equal deleted inserted replaced
552:cb23b3897e0c 553:c0cc20b4afc9
   130 
   130 
   131     Before calling this method, next_row should be called at least once.
   131     Before calling this method, next_row should be called at least once.
   132     """
   132     """
   133 
   133 
   134     return self.row_data
   134     return self.row_data
       
   135 
       
   136   def redirect(self):
       
   137     """Returns the redirect for the current row item in the current list.
       
   138     """
       
   139 
       
   140     logic = self.get('logic')
       
   141     action = self.get('action')
       
   142     suffix = logic.getKeySuffix(self.row_data)
       
   143     return "%s/%s" % (action, suffix)