How to create a custom response for permission classes like IsAuthenticated in Django Rest Framework?

前端 未结 0 1024
独厮守ぢ
独厮守ぢ 2020-12-07 11:19

How can I create custom response for permission classes

The response now is:

{"detail": "Authentication credentials were not provided.&q         


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