Skip to content

Commit

Permalink
Merge pull request #3926 from federicobond/patch-1
Browse files Browse the repository at this point in the history
Add missing space in serializer error message
  • Loading branch information
jpadilla committed Feb 11, 2016
2 parents aeda2ad + 03b5438 commit 8c1365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ def raise_errors_on_nested_writes(method_name, serializer, validated_data):
isinstance(validated_data[key], (list, dict))
for key, field in serializer.fields.items()
), (
'The `.{method_name}()` method does not support writable nested'
'The `.{method_name}()` method does not support writable nested '
'fields by default.\nWrite an explicit `.{method_name}()` method for '
'serializer `{module}.{class_name}`, or set `read_only=True` on '
'nested serializer fields.'.format(
Expand Down

0 comments on commit 8c1365e

Please sign in to comment.