From 0357c36fffc7243dd87a0f257903a79215a4f252 Mon Sep 17 00:00:00 2001 From: Jwpe Date: Tue, 19 May 2015 14:00:32 -0400 Subject: [PATCH] Removed parser_classes and renderer_classes from JSONWebTokenAPIView --- rest_framework_jwt/views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rest_framework_jwt/views.py b/rest_framework_jwt/views.py index 650ef1cd..d7200ace 100644 --- a/rest_framework_jwt/views.py +++ b/rest_framework_jwt/views.py @@ -1,7 +1,5 @@ from rest_framework.views import APIView from rest_framework import status -from rest_framework import parsers -from rest_framework import renderers from rest_framework.response import Response from rest_framework_jwt.settings import api_settings @@ -21,8 +19,6 @@ class JSONWebTokenAPIView(APIView): throttle_classes = () permission_classes = () authentication_classes = () - parser_classes = (parsers.FormParser, parsers.JSONParser,) - renderer_classes = (renderers.JSONRenderer,) def get_serializer_context(self): """