mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Remove duplicated line
This commit is contained in:
parent
22565d9a65
commit
f585eee125
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user