Hi, currently building an api to replace our old vanilla PHP back end using DRF. Any suggestions on how to implement a view that would allow a PUT request with an array of objects that would replace/update (doesnt matter which) the existing database objects? Ive found a number of related things like ListSerializers and generics.UpdateAPIView but none of them have behaved well in practice.
Thanks!
#Multiple put requests
5 messages · Page 1 of 1 (latest)
Why they didn't work well?
What DB are you using ?
Using this as a reference, https://www.django-rest-framework.org/api-guide/serializers/#customizing-multiple-update, can you share specifically how you attempted to implement a solution with the ListSerializer?
Django, API, REST, Serializers
Following up on this a month later, got it working!