diff options
| author | Tom Christie | 2013-03-26 07:48:53 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-03-26 07:48:53 +0000 |
| commit | 92c929094c88125ea4a2fd359ec99d2b4114f081 (patch) | |
| tree | defab9a9e57a626b83619aa3388f8ebf51ca33cc /docs/api-guide/serializers.md | |
| parent | 8387cb5d1655e4d29cf8bca1919038091427e584 (diff) | |
| download | django-rest-framework-92c929094c88125ea4a2fd359ec99d2b4114f081.tar.bz2 | |
Version 2.2.52.2.5
Diffstat (limited to 'docs/api-guide/serializers.md')
| -rw-r--r-- | docs/api-guide/serializers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index dfa0cace..1a3c3431 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -256,7 +256,7 @@ Passing `allow_add_remove=True` ensures that any update operations will complete #### How identity is determined when performing bulk updates -Performing a bulk update is slightly more complicated than performing a bulk creation, because the serializer needs a way of determining how the items in the incoming data should be matched against the existing object instances. +Performing a bulk update is slightly more complicated than performing a bulk creation, because the serializer needs a way to determine how the items in the incoming data should be matched against the existing object instances. By default the serializer class will use the `id` key on the incoming data to determine the canonical identity of an object. If you need to change this behavior you should override the `get_identity` method on the `Serializer` class. For example: |
