コード例 #1
0
 def _process_args(self):
     RHManageSurveysBase._process_args(self)
     self.text = SurveyText.find_one(
         SurveyText.id == request.view_args['text_id'],
         ~Survey.is_deleted,
         _join=SurveyText.survey,
         _eager=SurveyText.survey)
     self.survey = self.text.survey
コード例 #2
0
 def _checkParams(self, params):
     RHManageSurveysBase._checkParams(self, params)
     self.text = SurveyText.find_one(
         SurveyText.id == request.view_args['text_id'],
         ~Survey.is_deleted,
         _join=SurveyText.survey,
         _eager=SurveyText.survey)
     self.survey = self.text.survey
コード例 #3
0
 def _checkParams(self, params):
     RHManageSurveysBase._checkParams(self, params)
     self.text = SurveyText.find_one(SurveyText.id == request.view_args['text_id'], ~Survey.is_deleted,
                                     _join=SurveyText.survey, _eager=SurveyText.survey)
     self.survey = self.text.survey
コード例 #4
0
ファイル: questionnaire.py プロジェクト: indico/indico
 def _process_args(self):
     RHManageSurveysBase._process_args(self)
     self.text = SurveyText.find_one(SurveyText.id == request.view_args['text_id'], ~Survey.is_deleted,
                                     _join=SurveyText.survey, _eager=SurveyText.survey)
     self.survey = self.text.survey