mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Merge pull request #2805 from pstiasny/patch-1
Update serializers documentation (removed feature)
This commit is contained in:
commit
311cad64c9
|
@ -478,7 +478,7 @@ The default `ModelSerializer` uses primary keys for relationships, but you can a
|
|||
|
||||
The `depth` option should be set to an integer value that indicates the depth of relationships that should be traversed before reverting to a flat representation.
|
||||
|
||||
If you want to customize the way the serialization is done (e.g. using `allow_add_remove`) you'll need to define the field yourself.
|
||||
If you want to customize the way the serialization is done you'll need to define the field yourself.
|
||||
|
||||
## Specifying fields explicitly
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user