aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/parsers.md
diff options
context:
space:
mode:
authorTom Christie2013-05-08 20:07:51 +0100
committerTom Christie2013-05-08 20:07:51 +0100
commit429e078eee63a120c408946cf7c1460d4ca9e9b4 (patch)
treeacc98187b15a2a60a74529e43f59f8161b4f7f7f /docs/api-guide/parsers.md
parent246a376dcf6b62aa6ce42ef8dc69313a58fb7e72 (diff)
downloaddjango-rest-framework-429e078eee63a120c408946cf7c1460d4ca9e9b4.tar.bz2
Allow None filename on uploaded files
Diffstat (limited to 'docs/api-guide/parsers.md')
-rw-r--r--docs/api-guide/parsers.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api-guide/parsers.md b/docs/api-guide/parsers.md
index 7d2c056e..5bd79a31 100644
--- a/docs/api-guide/parsers.md
+++ b/docs/api-guide/parsers.md
@@ -114,6 +114,7 @@ If the view used with `FileUploadParser` is called with a `filename` URL keyword
* The `FileUploadParser` is for usage with native clients that can upload the file as a raw data request. For web-based uploads, or for native clients with multipart upload support, you should use the `MultiPartParser` parser instead.
* Since this parser's `media_type` matches any content type, `FileUploadParser` should generally be the only parser set on an API view.
+* `FileUploadParser` respects Django's standard `FILE_UPLOAD_HANDLERS` setting, and the `request.upload_handlers` attribute. See the [Django documentation][upload-handlers] for more details.
##### Basic usage example:
@@ -183,6 +184,7 @@ The following third party packages are also available.
[jquery-ajax]: http://api.jquery.com/jQuery.ajax/
[cite]: https://groups.google.com/d/topic/django-developers/dxI4qVzrBY4/discussion
+[upload-handlers]: https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#upload-handlers
[messagepack]: https://github.com/juanriaza/django-rest-framework-msgpack
[juanriaza]: https://github.com/juanriaza
[djangorestframework-msgpack]: https://github.com/juanriaza/django-rest-framework-msgpack