DRF-權限源碼流程和基本使用

django rest_framework 權限 在視圖裏面去設置權限 class OrderView(APIView): authentication_classes = [MyAuthtication] def get(self, request, *args, **kwargs): ret = {"state_code": 1000, "msg": "數據請
相關文章
相關標籤/搜索