mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +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 '
|
||||
'`%s.objects.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.' %
|
||||
'this correctly.\nOriginal exception was:\n %s' %
|
||||
(
|
||||
ModelClass.__name__,
|
||||
ModelClass.__name__,
|
||||
|
|
Loading…
Reference in New Issue
Block a user