Wrap more cleanly

This commit is contained in:
Tom Christie 2012-09-14 19:36:44 +01:00
parent a5213d4023
commit b7b8cd11b1

View File

@ -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):
"""