how to prevent/ secure delete request method from any attacker in django

前端 未结 0 1991
梦毁少年i
梦毁少年i 2021-01-22 20:33
@method_decorator(login_required, name=\'dispatch\')
class CategoryDeleteView(DeleteView):
model = Category
template_name = \'board/delete.html\'
success_url = reverse_l         


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