How to allow DELETE request in the list-view of Django REST framework ? Is it possible? -


is possible delete list of objects django rest framework list-view ? passing list of ids of objects [1,2] in delete request , showing

{u'detail': u'method "delete" not allowed.'}.

allowed methods @ list-view :get, post, head, options

i want add delete allowed reuqest.

out of box, django rest framework not support bulk operations.

you have write custom code that. there third party package django rest framework bulk might starting point.


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -