In DRF, only AllowAny permission is working.....
My Views.py
class generate_course(APIView) :
.
.
.
permission_classes = (IsAuthenticated,)
authentication_classes = (JSONWebTokenAuthentication,)
def post ( self, request) :
....
.....
....
I also define the setting.py. And also given the token in headers
The postman giving the error
{
detail : Authentication credential were not provided.
}