Exemple #1
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration
                           .find(Registration.id.in_(ids), ~Registration.is_deleted)
                           .with_parent(self.regform)
                           .all())
Exemple #2
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(
         self.regform).filter(Registration.id.in_(ids),
                              ~Registration.is_deleted).order_by(
                                  *Registration.order_by_name).all())
Exemple #3
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(self.regform)
                           .filter(Registration.id.in_(ids),
                                   ~Registration.is_deleted)
                           .order_by(*Registration.order_by_name)
                           .all())
Exemple #4
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(
         self.regform).filter(
             Registration.id.in_(ids), ~Registration.is_deleted).order_by(
                 *Registration.order_by_name).options(
                     *self.registration_query_options).all())
Exemple #5
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(self.regform)
                           .filter(Registration.id.in_(ids),
                                   ~Registration.is_deleted)
                           .order_by(*Registration.order_by_name)
                           .all()) if ids else []
     self.template_id = request.args.get('template_id', self._default_template_id)
Exemple #6
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(self.regform)
                           .filter(Registration.id.in_(ids),
                                   ~Registration.is_deleted)
                           .order_by(*Registration.order_by_name)
                           .options(*self.registration_query_options)
                           .all())
Exemple #7
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     ids = set(request.form.getlist('registration_id'))
     self.registrations = (Registration.query.with_parent(
         self.regform).filter(
             Registration.id.in_(ids), ~Registration.is_deleted).order_by(
                 *Registration.order_by_name).all()) if ids else []
     self.template_id = request.args.get('template_id',
                                         self._default_template_id)
Exemple #8
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self._doNotSanitizeFields.append('email_from')
Exemple #9
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self.invitation = RegistrationInvitation.get_one(
         request.view_args['invitation_id'])
Exemple #10
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self._doNotSanitizeFields.append('email_from')
Exemple #11
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self.invitation = RegistrationInvitation.get_one(request.view_args['invitation_id'])
Exemple #12
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.section = RegistrationFormSection.get_one(request.view_args['section_id'])
Exemple #13
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self.section = RegistrationFormSection.get_one(
         request.view_args['section_id'])
Exemple #14
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     user_id = request.args.get('user')
     self.user = User.find_first(User.id == user_id, ~User.is_deleted) if user_id else None
Exemple #15
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(request.view_args['invitation_id'])
Exemple #16
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.section = RegistrationFormSection.get_or_404(
         request.view_args['section_id'])
Exemple #17
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(
         request.view_args['invitation_id'])
Exemple #18
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     self.section = RegistrationFormSection.get_one(request.view_args['section_id'])
Exemple #19
0
 def _checkParams(self, params):
     RHManageRegFormBase._checkParams(self, params)
     user_id = request.args.get('user')
     self.user = User.find_first(User.id == user_id, ~User.is_deleted) if user_id else None