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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -