From 19915d19170c48961cc4cb97d773c99cba11aff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20Thanh=20L=E1=BB=A3i=20=28Leonn=29?= Date: Tue, 23 Jun 2020 04:24:50 +0700 Subject: [PATCH] Fix docs typo (#7387) --- docs/api-guide/fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index b2bdd50c8..7722a1f27 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -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_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