Skip to content

Commit 3731959

Browse files
linchiwei123lovelydinosaur
authored andcommitted
Update fields.md (#6784)
Example ==> Example
1 parent 8fbf8c3 commit 3731959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ to the desired output.
725725
>>> instance = DataPoint(label='Example', x_coordinate=1, y_coordinate=2)
726726
>>> out_serializer = DataPointSerializer(instance)
727727
>>> out_serializer.data
728-
ReturnDict([('label', 'testing'), ('coordinates', {'x': 1, 'y': 2})])
728+
ReturnDict([('label', 'Example'), ('coordinates', {'x': 1, 'y': 2})])
729729

730730
* Unless our field is to be read-only, `to_internal_value` must map back to a dict
731731
suitable for updating our target object. With `source='*'`, the return from

0 commit comments

Comments
 (0)