标签: django
我的中间件中有django.contrib.auth,我想公开一个不需要身份验证的API。怎么做的?
django.contrib.auth
class MY_API(APIView): #I'd like to let anonymous users call this post method... def post(self, request): pass