mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 13:54:47 +03:00
Edited grammar.
This commit is contained in:
parent
c5d6de7321
commit
1637c82770
|
@ -442,7 +442,7 @@ Declaring a `ModelSerializer` looks like this:
|
|||
|
||||
By default, all the model fields on the class will be mapped to a corresponding serializer fields.
|
||||
|
||||
Any relationships such as foreign keys on the model will be mapped to `PrimaryKeyRelatedField`. Reverse relationships are not included by default unless explicitly included as specified in [serializer relations][relations].
|
||||
Any relationships such as foreign keys on the model will be mapped to `PrimaryKeyRelatedField`. Reverse relationships are not included by default unless explicitly included as specified in the [serializer relations][relations] documentation.
|
||||
|
||||
#### Inspecting a `ModelSerializer`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user