diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index abdb67afa..d0b6a3c5b 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -774,6 +774,11 @@ Here's an example of how you might choose to implement multiple updates: class BookSerializer(serializers.Serializer): ... + id = serializers.IntegerField( + read_only=False, + required=False + ) + class Meta: list_serializer_class = BookListSerializer