mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 16:24:18 +03:00
Update to correct location of reverse relation doc (#4481)
This commit is contained in:
parent
e91ffc87cb
commit
a68b37d8bc
|
@ -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 described below.
|
||||
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