这是失败的: # devices have a django user (AUTH_USER_MODEL ---onetoone--- Device_get_list()force_authentication将request.auth设置为None。查询集是: if hasattr(self.request.user, 'd
我们使用rest_framework.authentication.TokenAuthentication在Django REST框架中使用访问令牌对API用户进行身份验证。是否有一种方法可以使用同一个类对Django的用户进行身份验证?authentication methods, such as login by e-mail
"allauth.account.auth_backends.Aut