Remove duplicated line

This commit is contained in:
Xavier Ordoquy 2017-10-09 22:19:53 +02:00
parent 22565d9a65
commit f585eee125

View File

@ -822,9 +822,7 @@ Here's an example of how you might choose to implement multiple updates:
# We need to identify elements in the list using their primary key,
# so use a writable field here, rather than the default which would be read-only.
id = serializers.IntegerField()
...
id = serializers.IntegerField(required=False)
class Meta:
list_serializer_class = BookListSerializer