diff --git a/rest_framework/authtoken/views.py b/rest_framework/authtoken/views.py index 731511cc2..9ed7b5950 100644 --- a/rest_framework/authtoken/views.py +++ b/rest_framework/authtoken/views.py @@ -24,4 +24,4 @@ class ObtainAuthToken(APIView): return response -obtain_auth_token = ObtainAuthToken.as_view +obtain_auth_token = ObtainAuthToken.as_view()