From d8b509ac8c16e2c5c072fab904928c611f8b8dc8 Mon Sep 17 00:00:00 2001 From: Agustin Barto Date: Thu, 11 Aug 2016 09:21:47 -0300 Subject: [PATCH] Fix typo in as_view invocation --- rest_framework/authtoken/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()