Remove unreachable code in LogoutView

This commit is contained in:
Maxim Kukhtenkov 2016-03-07 18:21:11 -05:00
parent f95c42036b
commit e8cd780ae2

View File

@ -96,8 +96,6 @@ class LogoutView(APIView):
response = self.handle_exception(exc)
return self.finalize_response(request, response, *args, **kwargs)
self.response = self.finalize_response(request, response, *args, **kwargs)
return self.response
def post(self, request):
return self.logout(request)