摘要:
DRF组件的用法和作用 认证 自定义认证的类 """ from rest_framework.authentication import BaseAuthentication from rest_framework.exceptions import AuthenticationFailed fro 阅读全文
posted @ 2020-07-10 18:25
Dimple_Y
阅读(403)
评论(0)
推荐(0)
摘要:
1 权限 1.1 权限源码分析 # APIView >dispatch >initial >self.check_permissions(request)(APIView的对象方法) def check_permissions(self, request): # 遍历权限对象列表得到一个个权限对象( 阅读全文
posted @ 2020-07-10 15:03
Dimple_Y
阅读(268)
评论(0)
推荐(0)

浙公网安备 33010602011771号