I have an ItemCollection and Items in my Django models and I want to be able to remove Items from the collection through the UI. In a REST PUT request I add an extra boolean
If you're doing a PUT request, your view is probably calling self.perform_update(serializer). Change it for
self.perform_update(serializer)
serializer.save(=request.data.get('', )
All kwargs are passed down to validated_data to your serializer. Make sure to properly transform incoming value (to boolean, to int, etc.)
kwargs