Пример #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())
Пример #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)
Пример #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)
Пример #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())
Пример #5
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.section = RegistrationFormSection.get_one(request.view_args['section_id'])
Пример #6
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(
         request.view_args['invitation_id'])
Пример #7
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.section = RegistrationFormSection.get_or_404(
         request.view_args['section_id'])
Пример #8
0
 def _process_args(self):
     RHManageRegFormBase._process_args(self)
     self.invitation = RegistrationInvitation.get_one(request.view_args['invitation_id'])