mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 18:08:03 +03:00 
			
		
		
		
	Merge pull request #3926 from federicobond/patch-1
Add missing space in serializer error message
This commit is contained in:
		
						commit
						8c1365e315
					
				| 
						 | 
				
			
			@ -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(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user