From e6308155dd01a5ac51d2c6b7266db04c244c7976 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Wed, 8 Apr 2015 21:38:02 -0700 Subject: [PATCH] Update example of nested data --- docs/topics/writable-nested-serializers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/writable-nested-serializers.md b/docs/topics/writable-nested-serializers.md index ed614bd246..cab700e5b8 100644 --- a/docs/topics/writable-nested-serializers.md +++ b/docs/topics/writable-nested-serializers.md @@ -28,11 +28,11 @@ Some example output from our serializer. { 'title': 'Leaving party preperations', - 'items': { + 'items': [ {'text': 'Compile playlist', 'is_completed': True}, {'text': 'Send invites', 'is_completed': False}, {'text': 'Clean house', 'is_completed': False} - } + ] } Let's take a look at updating our nested one-to-many data structure.