Esempio n. 1
0
 def _process_args(self):
     self.reference_value = request.form['value']
     reference_type_name = request.form['type']
     self.reference_type = ReferenceType.find_one(
         db.func.lower(ReferenceType.name) == reference_type_name.lower())
Esempio n. 2
0
 def _process_args(self):
     RHAdminBase._process_args(self)
     self.reference_type = ReferenceType.find_one(id=request.view_args['reference_type_id'])
Esempio n. 3
0
 def _process_args(self):
     RHAdminBase._process_args(self)
     self.reference_type = ReferenceType.find_one(
         id=request.view_args['reference_type_id'])
Esempio n. 4
0
 def _process_args(self):
     self.reference_value = request.form['value']
     reference_type_name = request.form['type']
     self.reference_type = ReferenceType.find_one(db.func.lower(ReferenceType.name) == reference_type_name.lower())
Esempio n. 5
0
 def _checkParams(self, params):
     RHAdminBase._checkParams(self, params)
     self.reference_type = ReferenceType.find_one(
         id=request.view_args['reference_type_id'])
Esempio n. 6
0
 def _checkParams(self, params):
     RHAdminBase._checkParams(self, params)
     self.reference_type = ReferenceType.find_one(id=request.view_args['reference_type_id'])