예제 #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
파일: reglists.py 프로젝트: jas01/indico
 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
파일: reglists.py 프로젝트: jas01/indico
 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'])