示例#1
0
    def _postSendForReview(self, data):
        """POST handler for the mark as complete button."""
        task_logic.sendForReview(data.task, data.ndb_profile)

        return data.redirect.id().to(url_names.GCI_VIEW_TASK)
示例#2
0
文件: task.py 项目: adviti/melange
  def _postSendForReview(self):
    """POST handler for the mark as complete button.
    """
    task_logic.sendForReview(self.data.task, self.data.profile)

    self.redirect.id().to('gci_view_task')
示例#3
0
  def _postSendForReview(self, data):
    """POST handler for the mark as complete button."""
    task_logic.sendForReview(data.task, data.ndb_profile)

    return data.redirect.id().to(url_names.GCI_VIEW_TASK)