Instantiation in return statement before loop in DRF APIView permission #8431
Unanswered
cmokVnash
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys I am having a hard time understanding the following return statement code in django drf APIView source code:
I understand that permission is the key iterating through permission_classes but what on earth is the permission() instantiating? I can't find any permission class in the whole APIView source code by which permission() should work.
Beta Was this translation helpful? Give feedback.
All reactions