摘要: csrf相关装饰器 from django.views.decoretors.csrf import csrf_exempt,csrf_protect ''' csrf_exempt 忽略csrf校验 csrf_protect 开启csrf校验 ''' # 针对FBV @csrf_exempt\@c 阅读全文
posted @ 2022-05-25 22:34 名字只需六字 阅读(109) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示