Merge pull request #3926 from federicobond/patch-1

Add missing space in serializer error message
This commit is contained in:
José Padilla 2016-02-11 15:23:16 -04:00
commit 8c1365e315

View File

@ -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(