(self, instance, validated_data)
| 732 | return attrs |
| 733 | |
| 734 | def update(self, instance, validated_data): |
| 735 | raise NotImplementedError( |
| 736 | "Serializers with many=True do not support multiple update by " |
| 737 | "default, only multiple create. For updates it is unclear how to " |
| 738 | "deal with insertions and deletions. If you need to support " |
| 739 | "multiple update, use a `ListSerializer` class and override " |
| 740 | "`.update()` so you can specify the behavior exactly." |
| 741 | ) |
| 742 | |
| 743 | def create(self, validated_data): |
| 744 | return [ |