Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #121 from TrackMaven/custom-renderers
Browse files Browse the repository at this point in the history
Added the ability to use custom renderers for the JWT endpoints.
  • Loading branch information
jpadilla committed May 30, 2015
2 parents cb8362a + 0357c36 commit 6c5e918
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rest_framework_jwt/views.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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):
"""
Expand Down

0 comments on commit 6c5e918

Please sign in to comment.