摘要: 1.防止CSRF攻击 在django中要求前端要有token验证才能提交post请求。所以要在前端html的form表单中添加 {% csrf_token %}: 阅读全文
posted @ 2018-08-03 23:46 asamm 阅读(94) 评论(0) 推荐(0)