Commit 423e0de3 by Peter Demin

Fixed grammar in docs for "Writable nested serializers"

parent 58faebcd
...@@ -288,7 +288,7 @@ Would serialize to a nested representation like this: ...@@ -288,7 +288,7 @@ Would serialize to a nested representation like this:
# Writable nested serializers # 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 TrackSerializer(serializers.ModelSerializer):
class Meta: class Meta:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment