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