摘要: CSRF中间件 CSRF跨站请求伪造 补充两个装饰器 from django.views.decorators.csrf import csrf_exempt, csrf_protect csrf_exempt 给单个视图排除校验 csrf_protect 给单个视图必须校验 JSON JSON 指 阅读全文
posted @ 2018-10-18 18:05 panda/勇 阅读(403) 评论(0) 推荐(0) 编辑