摘要: 1. csrf相关装饰器 from django.views.decorators.csrf import csrf_exempt,csrf_protect """ csrf_exempt 忽略csrf校验 csrf_protect 开启csrf校验 """ # 针对FBV @csrf_protec 阅读全文
posted @ 2022-05-25 18:42 thrombus 阅读(28) 评论(2) 推荐(0)