django DRF: custom permission class: function based views: how to pass or access some params from view

前端 未结 0 422
余生分开走
余生分开走 2020-12-05 07:43

I have

from rest_framework import permissions

class CheckPermission(permissions.BasePermission):

    def has_permission(self, request, view):
        # acce         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题