Python--day70--csrf简单用法、 跨站请求伪造和csrf_token使用

1,csrf简单用法

2,Django里面的setting加入了防跨站伪造:这段代码帮你生成特殊字符串,帮你塞到html页面中来

3,csrf_token使用:

猜你喜欢

转载自www.cnblogs.com/xudj/p/10584120.html