How do i set default permission classes to my custom permission (Django Rest Framework)

前端 未结 0 485
傲寒
傲寒 2021-02-14 11:32

I created a custom permission to allow users only with a specific API KEY to access my API endpoints..

from rest_framework import permissions
from django.conf imp         


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