summaryrefslogtreecommitdiff
path: root/django/core/files/base.py
AgeCommit message (Expand)Author
2026-04-14Fixed #27150 -- Made base File objects truthy by default.VIZZARD-X
2025-12-09Fixed #36768 -- Optimized string concatenation in File.__iter__().varunkasyap
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2023-09-11Fixed #34642 -- Added File.open() support for *args and **kwargs.Yves Weissig
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2019-03-28Fixed "byte string" typo in various docs and comments.Mariusz Felisiak
2018-07-27Fixed typo in ContentFile docstring.Thomas Grainger
2018-03-12Removed redundant UploadedFile.DEFAULT_CHUNK_SIZE.Sergey Fedoseev
2018-03-10Used cached_property for File.size.Sergey Fedoseev
2018-03-08Fixed #29188 -- Fixed ContentFile.size after a write().Alex Stovbur
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-04-07Fixed #27777 -- Made File.open() work with the with statement (#8310)Ingo Klöcker
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-21Refs #27656 -- Updated django.core docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Removed __nonzero__() methods (for Python 2).Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
2016-06-18Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File."Tim Graham
2016-06-14Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.Hugo Osvaldo Barrera
2016-05-27Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.Simon Charette
2015-04-02Fixed typo in django.core.files.File docstring.Matt Hooks
2014-11-24Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode.Sergey Fedoseev
2014-10-30Fixed #8149 -- Made File.__iter__() support universal newlines.Jon Dufresne
2014-03-22Fixed a failing test introduced in 918a16bc4c099ab0cae72a231de3e99e2a9d02cb.Baptiste Mispelon
2014-03-21Fixed #22307 -- Fixed SpooledTemporaryFile bug in File class.Hans Lawrenz
2014-02-20Fixed #22107 -- Fixed django.core.files.File object iteration.Baptiste Mispelon
2013-11-03Fixed all E226 violationsAlex Gaynor
2013-11-02More attacking E302 violatorsAlex Gaynor
2012-12-06Fixed #19367 -- Fixed saving ContentFile in filesystem storageClaude Paroz
2012-11-03Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin
2012-08-29Fixed #11739 -- Made ContentFile support Unicode inputClaude Paroz
2012-08-29Replaced many smart_bytes by force_bytesClaude Paroz
2012-08-18[py3] Fixed file_storage tests.Aymeric Augustin
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
2012-08-12[py3] Replaced some __str__ methods by __unicode__Aymeric Augustin
2012-08-12[py3] Removed redundant __str__ methods.Aymeric Augustin
2012-08-08[py3] Replaced __nonzero__ by __bool__Claude Paroz
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
2012-05-31Fixed #14681 -- Do not set mode to None on file-like objects.Claude Paroz
2012-05-19Marked bytestrings with b prefix. Refs #18269Claude Paroz
2012-05-05Used io.BytesIO also for ContentFile.Claude Paroz
2012-05-05Replaced cStringIO.StringIO by io.BytesIO.Claude Paroz
2012-04-05Fixed #15644 -- Improved Django File wrapper to support more file-like object...Claude Paroz
2011-12-30Fixed #16590 -- Accepted a 'name' argument in the constructor of ContentFile,...Aymeric Augustin