mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 14:24:48 +03:00
Update serializers.py
This commit is contained in:
parent
b5cd438986
commit
8b7acc2ab7
|
@ -852,7 +852,7 @@ class ModelSerializer(Serializer):
|
||||||
'serializer class that is not a valid argument to '
|
'serializer class that is not a valid argument to '
|
||||||
'`%s.objects.create()`. You may need to make the field '
|
'`%s.objects.create()`. You may need to make the field '
|
||||||
'read-only, or override the %s.create() method to handle '
|
'read-only, or override the %s.create() method to handle '
|
||||||
'this correctly.\nOriginal exception was:\n %s.' %
|
'this correctly.\nOriginal exception was:\n %s' %
|
||||||
(
|
(
|
||||||
ModelClass.__name__,
|
ModelClass.__name__,
|
||||||
ModelClass.__name__,
|
ModelClass.__name__,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user