摘要: csrf相关装饰器 from django.views.decorators.csrf import csrf_exempt,csrf_protect """ 当中间件中关于csrf的中间件注销掉,就可以用csrf_protect来开启相应的csrf校验,当有中间件,csrf_exempt来让某些视 阅读全文
posted @ 2022-05-25 22:49 小金同学要加油 阅读(16) 评论(0) 推荐(0) 编辑