Commit f7646627 by Silvio J. Gutierrez

Documentation fix for list serializers.

parent 75a63c2c
......@@ -800,6 +800,9 @@ Here's an example of how you might choose to implement multiple updates:
return ret
class BookSerializer(serializers.Serializer):
# You must explicitly mark the primary key as editable.
id = serializers.IntegerField()
...
class Meta:
list_serializer_class = BookListSerializer
......
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