mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Fix docs typo (#7387)
This commit is contained in:
parent
7a04269209
commit
19915d1917
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user