class ExampleView(APIView):
    permission_classes = IsAuthenticated,

def get(self, request, format=None):
    content = {'status': 'request was permitted'}
How can i make django-rest-framework-jwt return token on registration?