python django post提交出现403

为视图函数添加修饰器(局部禁用)javascript 导入模块html from django.views.decorators.csrf import csrf_exempt 在函数前面添加修饰器java @csrf_exempt def index(request): if request.method == 'GET': return render(request,'index.htm
相关文章
相关标签/搜索