summaryrefslogtreecommitdiff
path: root/docs/topics/http/file-uploads.txt
AgeCommit message (Collapse)Author
2025-09-29Fixed #36587 -- Clarified usage of `list.insert()` for upload handlers.okaybro
Thanks Baptiste Mispelon for the report Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2024-04-04Refs #31710 -- Improved multiple file upload docs.Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2023-09-18Removed versionadded/changed annotations for 4.2.Mariusz Felisiak
This also removes remaining versionadded/changed annotations for older versions.
2023-05-03Fixed CVE-2023-31047, Fixed #31710 -- Prevented potential bypass of ↵Mariusz Felisiak
validation when uploading multiple files using one form field. Thanks Moataz Al-Sharida and nawaik for reports. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2022-05-31Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked.
2022-02-03Fixed #32243 -- Added docs examples for manually saving Files.Joshua Massover
2021-10-18Fixed #33172 -- Added example of modifying upload handlers on the fly for CBVs.sreehari1997
2021-03-02Fixed #32271 -- Improved consistency of docs CBV examples.Jack Aitken
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
2020-09-22Fixed #32004 -- Clarified docs for when request.FILES is set.János Roden
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-06-28Fixed location of a few doc labels.Tim Graham
2016-06-09Fixed #21588 -- Corrected handler initialization in "modifying upload ↵Berker Peksag
handlers" example.
2016-06-04Used snippet directive in file upload example.Berker Peksag
2016-06-03Fixed #26604 -- Added a multiple file upload example to ↵Berker Peksag
topics/http/file-uploads.txt.
2015-12-23Fixed #25969 -- Replaced render_to_response() with render() in docs examples.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2014-08-23Fixed #23344 -- Removed duplicate docs for file upload settings.Tim Graham
2014-08-19Removed unnecessary code-block directives.areski
2014-08-04Fixed #23169 - Misc docs fixes.areski
2014-07-26Fixed #23097 -- Switched to new octal format in docsDavid Hoffman
2014-04-08Fixed #9535 -- Added a reference guide for file upload classes.Anubhav Joshi
2014-02-25Fixed #12670 -- Added a note about permissions of files stored in ↵Rik
FILE_UPLOAD_TEMP_DIR. Thanks simon29 for the suggestion.
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2013-11-27Added a warning regarding risks in serving user uploaded media.Tim Graham
Thanks Preston Holmes for the draft text.
2013-08-12Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS settingMel Collins
This setting does for new directories what FILE_UPLOAD_PERMISSIONS does for new files. Thanks jacob@ for the suggestion.
2013-07-11Fixed #13721 -- Added UploadedFile.content_type_extra.Benjamin Kagia
Thanks Waldemar Kornewald and mvschaik for work on the patch.
2013-06-24Corrected minor typos in FileUploadHandler.receive_data_chunk docs.Simon Meers
2013-05-18Add missing imports and models to the examples in the view layer documentationSilvan Spross
2013-01-11Fixed code examples in which render() calls were missing `request` parameter.Vinod Kurup
2013-01-02Fixed #19516 - Fixed remaining broken links.Tim Graham
Added -n to sphinx builds to catch issues going forward.
2012-09-01Fixed #18840 - Added a mentioned of the upload_to parameter to the ModelForm ↵Tim Graham
example in file uploads.
2012-08-10Fixed #17016 - Added examples for file uploads in views.Tim Graham
Thanks Tim Saylor for the draft patch and Aymeric Augustin and Claude Paroz for feedback.
2012-05-05Made more extensive usage of context managers with open.Claude Paroz
2011-10-14Fixed many more ReST indentation errors, somehow accidentally missed from ↵Luke Plant
[16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-09Fixed #16384: warn against accessing request.POST/REQUEST in middleware.Jacob Kaplan-Moss
Thanks, Tom Christie. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-04Converted links to external topics so they use intersphinx extension markup.Ramiro Morales
This allows to make these links more resilent to changes in the target URLs. Thanks Jannis for the report and Aymeric Augustin for the patch. Fixes #16586. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06Fixed #16430 - Stronger wording for CSRF protection in `modifying upload ↵Timo Graham
handlers on the fly`; thanks tomchristie. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29Fixed #15992 -- Added more references to settings. Thanks, aaugustin.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16Fixed #15233 -- reST/Sphinx markup corrections in numerous areas, mostly ↵Gabriel Hurley
centering around bad crossref targets. Thanks to Aryeh Leib Taurog for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll ↵Gabriel Hurley
for the report and the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29Fixed #14182 - documented how to modify upload handlers when using ↵Luke Plant
CsrfViewMiddleware Thanks to dc for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14141: docs now use the :doc: construct for links between documents.Jacob Kaplan-Moss
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24Fixed #11782 -- Added some Sphinx metadata to the file uploads ↵Russell Keith-Magee
documentation. Thanks to timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed several broken and redirecting URLs in the documentation (fixes ↵Gary Wilson Jr
#12219, refs #12427). git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37