Exemple #1
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 #2
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 #3
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 #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)
     self.section = RegistrationFormSection.get_one(request.view_args['section_id'])
Exemple #6
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(
         request.view_args['invitation_id'])
Exemple #7
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.section = RegistrationFormSection.get_or_404(
         request.view_args['section_id'])
Exemple #8
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(request.view_args['invitation_id'])