Skip to content

Commit e630815

Browse files
committed
Update example of nested data
1 parent 311cad6 commit e630815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/topics/writable-nested-serializers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Some example output from our serializer.
2828

2929
{
3030
'title': 'Leaving party preperations',
31-
'items': {
31+
'items': [
3232
{'text': 'Compile playlist', 'is_completed': True},
3333
{'text': 'Send invites', 'is_completed': False},
3434
{'text': 'Clean house', 'is_completed': False}
35-
}
35+
]
3636
}
3737

3838
Let's take a look at updating our nested one-to-many data structure.

0 commit comments

Comments
 (0)