コード例 #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
ファイル: task.py プロジェクト: rhyolight/nupic.son
  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)