Add missing dot when refer to_internal_value()

This commit is contained in:
leonn 2020-06-22 20:31:51 +07:00
parent 7a04269209
commit 67ad471edf
No known key found for this signature in database
GPG Key ID: 76049165A4916870

View File

@ -595,7 +595,7 @@ If you want to create a custom field, you'll need to subclass `Field` and then o
The `.to_representation()` method is called to convert the initial datatype into a primitive, serializable datatype. The `.to_representation()` method is called to convert the initial datatype into a primitive, serializable datatype.
The `to_internal_value()` method is called to restore a primitive datatype into its internal python representation. This method should raise a `serializers.ValidationError` if the data is invalid. The `.to_internal_value()` method is called to restore a primitive datatype into its internal python representation. This method should raise a `serializers.ValidationError` if the data is invalid.
## Examples ## Examples