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())
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)
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)
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())
def _process_args(self): RHManageRegFormBase._process_args(self) self.section = RegistrationFormSection.get_one(request.view_args['section_id'])
def _process_args(self): RHManageRegFormBase._process_args(self) self.invitation = RegistrationInvitation.get_one( request.view_args['invitation_id'])
def _process_args(self): RHManageRegFormBase._process_args(self) self.section = RegistrationFormSection.get_or_404( request.view_args['section_id'])
def _process_args(self): RHManageRegFormBase._process_args(self) self.invitation = RegistrationInvitation.get_one(request.view_args['invitation_id'])