              instance = ModelClass._default_manager.create(**validated_data)
          except TypeError:
              tb = traceback.format_exc()
              msg = (
                  'Got a `TypeError` when calling `%s._default_manager.create()`. '
                  'This may be because you have a writable field on the '
                  'serializer class that is not a valid argument to '
                  '`%s._default_manager.create()`. You may need to make the field '
                  'read-only, or override the %s.create() method to handle '
                  'this correctly.\nOriginal exception was:\n %s' %
 
</s> remove                 '`%s._default_manager.create()`. You may need to make the field '
 </s> add                 '`%s.%s.create()`. You may need to make the field ' </s> remove         msginitial = 'Got a `TypeError` when calling `OneFieldModel._default_manager.create()`.'
 </s> add         msginitial = 'Got a `TypeError` when calling `OneFieldModel.objects.create()`.' </s> remove         instance = TestModelSerializer().create({'name': 'test_name'})
 </s> add class Issue6110Test(TestCase):

    def test_model_serializer_custom_manager(self):
        instance = Issue6110ModelSerializer().create({'name': 'test_name'})
                'Got a `TypeError` when calling `%s.%s.create()`. '
              instance = ModelClass._default_manager.create(**validated_data)
          except TypeError:
              tb = traceback.format_exc()
              msg = (
                'Got a `TypeError` when calling `%s.%s.create()`. '
                  'This may be because you have a writable field on the '
                  'serializer class that is not a valid argument to '
                  '`%s._default_manager.create()`. You may need to make the field '
                  'read-only, or override the %s.create() method to handle '
                  'this correctly.\nOriginal exception was:\n %s' %
keep keep keep keep replace keep keep keep keep keep
 Improve ModelSerializer.create() error message. (#6112) 
rest_framework/serializers.py