Django, DRF: How to send permission class details while making an API call using POSTMAN?

前端 未结 0 1792
-上瘾入骨i
-上瘾入骨i 2021-02-05 18:00
# views.py

@login_required
@permission_classes([IsAdminUser])
@api_view([\'GET\'])
def say_hi_admin(request):
    return Response         


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