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
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
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
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