Blueherb In solitude, where we are least alone
摘要: 问题:post 请求返回 403 1. 解决: 导入模块: from django.views.decorators.csrf import csrf_exempt 在函数前面添加修饰器: @csrf_exempt 2. 原因: 当采用客户端象 django 的服务器提交 post 请求时,会得到4 阅读全文
posted @ 2021-01-19 09:55 帅气的小土豆 阅读(16) 评论(0) 推荐(0) 编辑