Add missing space in serializer error message

This commit is contained in:
Federico Bond 2016-02-11 15:09:21 -03:00
parent aeda2adeea
commit 03b5438d07

View File

@ -715,7 +715,7 @@ def raise_errors_on_nested_writes(method_name, serializer, validated_data):
isinstance(validated_data[key], (list, dict)) isinstance(validated_data[key], (list, dict))
for key, field in serializer.fields.items() 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 ' 'fields by default.\nWrite an explicit `.{method_name}()` method for '
'serializer `{module}.{class_name}`, or set `read_only=True` on ' 'serializer `{module}.{class_name}`, or set `read_only=True` on '
'nested serializer fields.'.format( 'nested serializer fields.'.format(