How to do a class based delete view that allows DELETE method in django 3.1?

后端 未结 0 1131
一生所求
一生所求 2021-02-06 23:32

In Django 3.1, the typical DeleteView accepts GET and POST.

See https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-editing/#deleteview

and I repro

相关标签:
回答
  • 消灭零回复
提交回复
热议问题