          self.partial = partial
          self.many = many
  
          self.context = context or {}
  
          self.init_data = data
          self.init_files = files
 
</s> remove                  context=None, partial=False, many=None, source=None):
 </s> add                  context=None, partial=False, many=None, source=None,
                 allow_delete=False): </s> remove         serializer = self.BookSerializer(self.books(), data=data, many=True)
 </s> add         serializer = self.BookSerializer(self.books(), data=data, many=True, allow_delete=True)
        self.assertEqual(serializer.is_valid(), True)
        self.assertEqual(serializer.data, data)
        serializer.save()
        new_data = self.BookSerializer(self.books(), many=True).data
        self.assertEqual(data, new_data)

    def test_bulk_update_and_create(self):
        """
        Bulk update serialization may also include created items.
        """
        data = [
            {
                'id': 0,
                'title': 'The electric kool-aid acid test',
                'author': 'Tom Wolfe'
            }, {
                'id': 3,
                'title': 'Kafka on the shore',
                'author': 'Haruki Murakami'
            }
        ]
        serializer = self.BookSerializer(self.books(), data=data, many=True, allow_delete=True) </s> remove                             try:
                                identity = self.get_identity(item)
                            except:
                                self.object = None
                            else:
                                self.object = identity_to_objects.pop(identity, None)
 </s> add                             identity = self.get_identity(item)
                            self.object = identity_to_objects.pop(identity, None) </s> remove         serializer = self.BookSerializer(self.books(), data=data, many=True)
 </s> add         serializer = self.BookSerializer(self.books(), data=data, many=True, allow_delete=True)
        self.allow_delete = allow_delete
          self.partial = partial
          self.many = many
        self.allow_delete = allow_delete
  
          self.context = context or {}
  
          self.init_data = data
          self.init_files = files
keep add keep keep keep keep keep
 Bit of extra tidying and plenty of docs 
rest_framework/serializers.py