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:
Paweł Stiasny 2015-04-08 13:53:49 +02:00
parent 3f0f977b96
commit 22e8357a4b

View File

@ -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. 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 ## Specifying fields explicitly