mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Wrap more cleanly
This commit is contained in:
parent
a5213d4023
commit
b7b8cd11b1
|
@ -201,7 +201,8 @@ class APIView(_View):
|
||||||
"""
|
"""
|
||||||
Returns the initial request object.
|
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):
|
def finalize_response(self, request, response, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user