      """
      pass
  
  
  class RegularFieldsModel(models.Model):
      """
      A model class for testing regular flat fields.
      """
      auto_field = models.AutoField(primary_key=True)
      big_integer_field = models.BigIntegerField()
 
</s> remove         instance = ModelClass.objects.create(**validated_attrs)
 </s> add         try:
            instance = ModelClass.objects.create(**validated_attrs)
        except TypeError as exc:
            msg = (
                'The mentioned argument might be a field on the serializer '
                'that is not part of the model. You need to override the '
                'create() method in your ModelSerializer subclass to support '
                'this.')
            six.reraise(
                type(exc),
                type(exc)(str(exc) + '. ' + msg),
                sys.exc_info()[2])
class OneFieldModel(models.Model):
    char_field = models.CharField(max_length=100)


      """
      pass
  
  
class OneFieldModel(models.Model):
    char_field = models.CharField(max_length=100)


  class RegularFieldsModel(models.Model):
      """
      A model class for testing regular flat fields.
      """
      auto_field = models.AutoField(primary_key=True)
      big_integer_field = models.BigIntegerField()
keep keep keep add keep keep keep keep keep keep
 More helpful error message when default `.create` fails. Closes #2013. 
tests/test_model_serializer.py