摘要: drf之内置认证类 BasicAuthentication RemoteUserAuthentication SessionAuthentication:session认证 如果前端带着cookie过来,经过session的中间件,如果登录了,在request.user中就有当前登录用户 drf没有 阅读全文
posted @ 2022-10-11 22:08 初学者-11 阅读(59) 评论(0) 推荐(0) 编辑