Esempio n. 1
0
 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
Esempio n. 2
0
 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
Esempio n. 3
0
 def _process_args(self):
     RHRegistrationFormRegistrationBase._process_args(self)
     if self.registration is None:
         raise NotFound
Esempio n. 4
0
 def _checkParams(self, params):
     RHRegistrationFormRegistrationBase._checkParams(self, params)
     if self.registration is None:
         raise NotFound
Esempio n. 5
0
 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
Esempio n. 6
0
 def _process_args(self):
     RHRegistrationFormRegistrationBase._process_args(self)
     if not self.registration:
         raise NotFound
Esempio n. 7
0
 def _checkParams(self, params):
     RHRegistrationFormRegistrationBase._checkParams(self, params)
     if self.registration is None:
         raise NotFound
Esempio n. 8
0
 def _process_args(self):
     RHRegistrationFormRegistrationBase._process_args(self)
     if self.registration is None:
         raise NotFound
Esempio n. 9
0
 def _process_args(self):
     RHRegistrationFormRegistrationBase._process_args(self)
     if not self.registration:
         raise NotFound