#DRF
9 messages · Page 1 of 1 (latest)
If in the frontend, you should do that in the frontend using HTML, only send the DELETE request when user clicks ok
No ,I wan to entend the DRF delete method if that’s possible.. without having to write new view and url for delete
I don't think that is possible. DELETE method corresponds to HTTP Request DELETE and I don't think we can change them into 2 steps.
Ok thanks for responding 👍
Generally speaking you would be using drf with a frontend framework where you wouldn’t have to write a new view and url
But even if you weren’t, a confirmation is easily achievable with simple css where a different view/url is not necessary
How can that be achieved?
I’m experimenting as a callable api