mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
docs: add the missing module name (#8635)
This commit is contained in:
parent
54d52c66fd
commit
1ca1583513
|
@ -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.
|
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`.
|
For `HyperlinkedModelSerializer` this defaults to `serializers.HyperlinkedRelatedField`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user