Documentation fix for list serializers.

This commit is contained in:
Silvio J. Gutierrez 2015-11-17 19:09:49 -05:00
parent 75a63c2c2e
commit f7646627f1

View File

@ -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