コード例 #1
0
ファイル: controllers.py プロジェクト: innovexa/IDC-Events
 def _process_args(self):
     self.object_type, self.event, self.object = get_object_from_args()
     if self.object is None:
         raise NotFound
コード例 #2
0
ファイル: protection.py プロジェクト: wasm-network/indico
 def _process_args(self):
     RHManageEventBase._process_args(self)
     self.obj = get_object_from_args()[2]
     if self.obj is None:
         raise NotFound
コード例 #3
0
ファイル: controllers.py プロジェクト: nyimbi/indico
 def _checkParams(self, params):
     RHConferenceModifBase._checkParams(self, params)
     self.obj = get_object_from_args()[2]
     if self.obj is None:
         raise NotFound
コード例 #4
0
ファイル: event.py プロジェクト: MichelCordeiro/indico
 def _checkParams(self, params):
     RHConferenceBase._checkParams(self, params)
     self.object_type, self.base_object, self.object = get_object_from_args()
     if self.object is None:
         raise NotFound
コード例 #5
0
ファイル: event.py プロジェクト: qroques/indico
 def _process_args(self):
     RHEventBase._process_args(self)
     self.object_type, self.base_object, self.object = get_object_from_args()
     if self.object is None:
         raise NotFound
コード例 #6
0
 def _checkParams(self, params):
     RHConferenceBase._checkParams(self, params)
     self.object_type, self.base_object, self.object = get_object_from_args(
     )
     if self.object is None:
         raise NotFound
コード例 #7
0
ファイル: controllers.py プロジェクト: hennogous/indico
 def _checkParams(self):
     self.object_type, self.event, self.object = get_object_from_args()
     if self.object is None:
         raise NotFound
コード例 #8
0
ファイル: controllers.py プロジェクト: vireshbackup/indico
 def _checkParams(self):
     self.object_type, self.event_new, self.object = get_object_from_args()
     if self.object is None:
         raise NotFound
コード例 #9
0
ファイル: protection.py プロジェクト: DirkHoffmann/indico
 def _process_args(self):
     RHManageEventBase._process_args(self)
     self.obj = get_object_from_args()[2]
     if self.obj is None:
         raise NotFound
コード例 #10
0
 def _checkParams(self, params):
     RHManageEventBase._checkParams(self, params)
     self.obj = get_object_from_args()[2]
     if self.obj is None:
         raise NotFound