Fixed grammar in docs for "Writable nested serializers"

This commit is contained in:
Peter Demin 2015-10-21 09:33:34 -04:00
parent 58faebcdb1
commit 423e0de358

View File

@ -288,7 +288,7 @@ Would serialize to a nested representation like this:
# Writable nested serializers
Be default nested serializers are read-only. If you want to to support write-operations to a nested serializer field you'll need to create either or both of the `create()` and/or `update()` methods, in order to explicitly specify how the child relationships should be saved.
By default nested serializers are read-only. If you want to support write-operations to a nested serializer field you'll need to create `create()` and/or `update()` methods in order to explicitly specify how the child relationships should be saved.
class TrackSerializer(serializers.ModelSerializer):
class Meta: