mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Docs typo. Closes #2491.
This commit is contained in:
parent
2a43d9db87
commit
7cf9dea7f9
|
@ -128,7 +128,7 @@ If the view used with `FileUploadParser` is called with a `filename` URL keyword
|
||||||
def put(self, request, filename, format=None):
|
def put(self, request, filename, format=None):
|
||||||
file_obj = request.data['file']
|
file_obj = request.data['file']
|
||||||
# ...
|
# ...
|
||||||
# do some staff with uploaded file
|
# do some stuff with uploaded file
|
||||||
# ...
|
# ...
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user