def _check_access(self): RHRegistrationFormRegistrationBase._check_access(self) if self.registration.state != RegistrationState.complete: raise Forbidden if not self.regform.tickets_enabled: raise Forbidden if not self.regform.ticket_on_event_page and not self.regform.ticket_on_summary_page: raise Forbidden
def _checkProtection(self): RHRegistrationFormRegistrationBase._checkProtection(self) if self.registration.state != RegistrationState.complete: raise Forbidden if not self.regform.tickets_enabled: raise Forbidden if not self.regform.ticket_on_event_page and not self.regform.ticket_on_summary_page: raise Forbidden
def _process_args(self): RHRegistrationFormRegistrationBase._process_args(self) if self.registration is None: raise NotFound
def _checkParams(self, params): RHRegistrationFormRegistrationBase._checkParams(self, params) if self.registration is None: raise NotFound
def _process_args(self): RHRegistrationFormRegistrationBase._process_args(self) self.cern_access_request = get_last_request(self.event) if not self.cern_access_request: raise NotFound
def _process_args(self): RHRegistrationFormRegistrationBase._process_args(self) if not self.registration: raise NotFound