mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Update serializers documentation (removed feature)
It seems that allow_add_remove was removed from 3.x, yet the docs still mention it. Updating to avoid confusion.
This commit is contained in:
parent
3f0f977b96
commit
22e8357a4b
|
@ -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