code: def to_internal_value(self, data):
          
  
          if not isinstance(data, list):
              message = self.error_messages['not_a_list'].format(
                  input_type=type(data).__name__
              )
              raise serializers.ValidationError({
                  api_settings.NON_FIELD_ERRORS_KEY: [message]
              })
  
          ret = []
  
          for item in data:
              try:
                  validated = self.child.run_validation(item)
              except serializers.ValidationError as exc:
                  ret.append(exc.detail)
              else:
                  ret.append(validated)
  
          return ret
docs: This implements the same relevant logic as ListSerializer except that if one or more items fail validation,
          processing for other items that did not fail will continue.