摘要:
请求 rest_framework下的Request类源码分析: from rest_framework.request import Request class Request: def __init__(self, request, parsers=None, authenticators=No 阅读全文
摘要:
认证组件 使用方法: 1、新建一个认证类文件,继承BaseAuthentication from rest_framework.authentication import BaseAuthentication from rest_framework.exceptions import Authent 阅读全文