导入,可以使此次请求忽略csrf校验from django.views.decorators.csrf import csrf_exempt #在处理函数加此装饰器即可@csrf_exempt def post(request): ...
確定! 回上一頁