                  self._kwargs['validators'] = validators
  
      def create(self, validated_attrs):
          ModelClass = self.Meta.model
  
          # Remove many-to-many relationships from validated_attrs.
          # They are not valid arguments to the default `.create()` method,
 
</s>
        assert not any(
            isinstance(field, BaseSerializer) and not field.read_only
            for field in self.fields.values()
        ), (
            'The `.create()` method does not suport nested writable fields '
            'by default. Write an explicit `.create()` method for serializer '
            '%s, or set `read_only=True` on nested serializer fields.' %
            self.__class__.__name__
        )

                  self._kwargs['validators'] = validators
  
      def create(self, validated_attrs):
        assert not any(
            isinstance(field, BaseSerializer) and not field.read_only
            for field in self.fields.values()
        ), (
            'The `.create()` method does not suport nested writable fields '
            'by default. Write an explicit `.create()` method for serializer '
            '%s, or set `read_only=True` on nested serializer fields.' %
            self.__class__.__name__
        )

          ModelClass = self.Meta.model
  
          # Remove many-to-many relationships from validated_attrs.
          # They are not valid arguments to the default `.create()` method,
keep keep add keep keep keep keep
 Stricter checking for failure cases.
rest_framework/serializers.py