{"action":"created","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3607","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3607/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3607/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3607/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3607","id":115423727,"number":3607,"title":"Documentation for writing updates for ListSerializers should include \"extra_kwargs = {'id': {'read_only': False},}\"","user":{"login":"jonathan-golorry","id":14170183,"avatar_url":"https://avatars.githubusercontent.com/u/14170183?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-golorry","html_url":"https://github.com/jonathan-golorry","followers_url":"https://api.github.com/users/jonathan-golorry/followers","following_url":"https://api.github.com/users/jonathan-golorry/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-golorry/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-golorry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-golorry/subscriptions","organizations_url":"https://api.github.com/users/jonathan-golorry/orgs","repos_url":"https://api.github.com/users/jonathan-golorry/repos","events_url":"https://api.github.com/users/jonathan-golorry/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-golorry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/labels/Documentation","name":"Documentation","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T02:51:59Z","updated_at":"2015-12-06T19:28:10Z","closed_at":null,"body":"The documentation for writing a custom ListSerializer uses book.id to determine matches between instances and validated data. It appears that the validation of ListSerializers calls the child Serializers' validation methods. This validation by default removes non-writable values from data, including any id information, making it impossible to match instances and validated data.\r\n\r\nThis is preventable by making the ID not read_only in the child serializer, but that is not documented or even included in the example (though it would have saved me a lot of time)."},"comment":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/comments/162339724","html_url":"https://github.com/tomchristie/django-rest-framework/issues/3607#issuecomment-162339724","issue_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/3607","id":162339724,"user":{"login":"Cheglader","id":7145688,"avatar_url":"https://avatars.githubusercontent.com/u/7145688?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheglader","html_url":"https://github.com/Cheglader","followers_url":"https://api.github.com/users/Cheglader/followers","following_url":"https://api.github.com/users/Cheglader/following{/other_user}","gists_url":"https://api.github.com/users/Cheglader/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheglader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheglader/subscriptions","organizations_url":"https://api.github.com/users/Cheglader/orgs","repos_url":"https://api.github.com/users/Cheglader/repos","events_url":"https://api.github.com/users/Cheglader/events{/privacy}","received_events_url":"https://api.github.com/users/Cheglader/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T19:28:10Z","updated_at":"2015-12-06T19:28:10Z","body":"It looks like this was fixed with https://github.com/tomchristie/django-rest-framework/pull/3650"}}