diff --git a/djangorestframework/views.py b/djangorestframework/views.py index a309386b4..9debee19c 100644 --- a/djangorestframework/views.py +++ b/djangorestframework/views.py @@ -201,7 +201,8 @@ class APIView(_View): """ Returns the initial request object. """ - return Request(request, parser_classes=self.parser_classes, authentication_classes=self.authentication_classes) + return Request(request, parser_classes=self.parser_classes, + authentication_classes=self.authentication_classes) def finalize_response(self, request, response, *args, **kwargs): """