raise an ValidationError with 3 arguments: dictionary self.error_messages value under the key 'invalid_pk_value',
raise ValidationError ( self . error_messages [ 'invalid_pk_value' ] , code = 'invalid_pk_value' , params = { 'pk' : pk } , )