From 1ca1583513372422bd301fc0fef7bbb5a760fd87 Mon Sep 17 00:00:00 2001 From: Aaron Taajik <75927372+aaronn44@users.noreply.github.com> Date: Mon, 5 Sep 2022 14:50:23 +0430 Subject: [PATCH] docs: add the missing module name (#8635) --- docs/api-guide/serializers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index da57ac0a4..776d83c31 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -602,7 +602,7 @@ A mapping of Django model fields to REST framework serializer fields. You can ov This property should be the serializer field class, that is used for relational fields by default. -For `ModelSerializer` this defaults to `PrimaryKeyRelatedField`. +For `ModelSerializer` this defaults to `serializers.PrimaryKeyRelatedField`. For `HyperlinkedModelSerializer` this defaults to `serializers.HyperlinkedRelatedField`.