Example #1
0
 def _process_args(self):
     RHManageRegFormsBase._process_args(self)
     self.field_data = (RegistrationData
                        .find(RegistrationData.registration_id == request.view_args['registration_id'],
                              RegistrationData.field_data_id == request.view_args['field_data_id'],
                              RegistrationData.filename.isnot(None))
                        .options(joinedload('registration').joinedload('registration_form'))
                        .one())
Example #2
0
 def _checkParams(self, params):
     RHManageRegFormsBase._checkParams(self, params)
     self.field_data = (RegistrationData
                        .find(RegistrationData.registration_id == request.view_args['registration_id'],
                              RegistrationData.field_data_id == request.view_args['field_data_id'],
                              RegistrationData.filename != None)  # noqa
                        .options(joinedload('registration').joinedload('registration_form'))
                        .one())
Example #3
0
 def _process_args(self):
     RHManageRegFormsBase._process_args(self)
     self.field_data = (RegistrationData
                        .find(RegistrationData.registration_id == request.view_args['registration_id'],
                              RegistrationData.field_data_id == request.view_args['field_data_id'],
                              RegistrationData.filename.isnot(None))
                        .options(joinedload('registration').joinedload('registration_form'))
                        .one())
Example #4
0
 def _checkParams(self, params):
     RHManageRegFormsBase._checkParams(self, params)
     self.field_data = (RegistrationData
                        .find(RegistrationData.registration_id == request.view_args['registration_id'],
                              RegistrationData.field_data_id == request.view_args['field_data_id'],
                              RegistrationData.filename != None)  # noqa
                        .options(joinedload('registration').joinedload('registration_form'))
                        .one())
Example #5
0
 def _process_args(self):
     RHManageRegFormsBase._process_args(self)
     self.tag = RegistrationTag.query.with_parent(self.event).filter(
         RegistrationTag.id == request.view_args['tag_id']).first_or_404()