I have set up a very straightforward DeleteView following the documentation example. The only difference is I am overriding get_success_url
instead of setting the success_url
attribute.
One thing I noticed is that the default behavior is for the /delete
route to send a POST request, but I imagined it should be DELETE instead. Is this expected behavior or am I doing something wrong? If it is expected, what did I get wrong? It seems the UpdateView also uses POST instead of PUT.