def _checkParams(self, params): RHAdminBase._checkParams(self, params) if request.form.get('undo') == '1': self.user = None else: self.user = User.get_one(int(request.form['user_id']), is_deleted=False)
def _checkParams(self, params): RHAdminBase._checkParams(self, params) self.request = RegistrationRequest.get_one( request.view_args['request_id'])
def _checkParams(self, params): RHAdminBase._checkParams(self, params) self.reference_type = ReferenceType.find_one( id=request.view_args['reference_type_id'])