summaryrefslogtreecommitdiff
path: root/django/db/models/fields/files.py
AgeCommit message (Expand)Author
2026-04-14Fixed #27150 -- Made base File objects truthy by default.VIZZARD-X
2025-10-15Fixed 36622 -- Prevented LazyObject FileField storages from evaluating at boo...Clifford Gama
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-01-20Fixed #36005 -- Dropped support for Python 3.10 and 3.11.Mariusz Felisiak
2024-08-05Fixed #35657 -- Made FileField handle db_default values.Sarah Boyce
2024-05-22Fixed #35139 -- Prevented file read after ImageField is saved to storage.John Parton
2024-05-15Fixed #35384 -- Raised FieldError when saving a file without a name to FileFi...Jonny Park
2023-06-19Refs #34517 -- Restored skipping ImageFileField.update_dimension_fields witho...François Freitag
2023-05-03Fixed #34517 -- Avoided connection post_init signal to ImageField without wid...Orhan Hirsch
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-23Fixed #34192 -- Preserved callable storage when it returns default_storage.Matt Westcott
2022-11-04Fixed #27654 -- Propagated alters_data attribute to callables overridden in s...LightDiscord
2022-08-25Fixed typo in django/db/models/fields/files.py comment.Jan Pieter Waagmeester
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-05-13Fixed #32718 -- Relaxed file name validation in FileField.Mariusz Felisiak
2021-05-04Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads.Florian Apolloner
2020-10-12Fixed #32098 -- Made FieldFile use FileField.attname.Sultan
2020-09-02Fixed #31941 -- Corrected FileField.deconstruct() with a callable storage.Brian Helba
2020-07-24Fixed #31812 -- Fixed FileField.model for fields defined in abstract models.Matthias Kestenholz
2020-06-30Fixed #31701 -- Made FileDescriptor subclass DeferredAttribute.alosultan
2020-06-15Fixed #31706 -- Removed unnecessary getattr() call in FileDescriptor.__get__().Sultan
2020-04-08Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.miigotu
2020-01-09Fixed #21238 -- Fixed restoring attributes when pickling FileField and ImageF...Hasan Ramezani
2019-08-18Refs #28428 -- Made FileField.upload_to support pathlib.Path.Claude Paroz
2019-04-18Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, com...Ramiro Morales
2019-01-27Removed default mode='r' argument from calls to open().Jon Dufresne
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2018-01-03Fixed #28984 -- Made assorted code simplifications.Tim Graham
2018-01-03Fixed #28985 -- Removed unneeded None checks before hasattr().Дилян Палаузов
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-04Fixed #28873 -- Used dict.setdefault() to set model and form field defaults.Дилян Палаузов
2017-06-01Fixed #28242 -- Moved ImageField file extension validation to the form field.Manatsawin Hanmongkolchai
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-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-28Removed obsolete references to form_for_instance().Tim Graham
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-17Refs #26058 -- Removed deprecated FileField.get_directory_name()/get_filename().Tim Graham
2016-11-30Refs #27358 -- Fixed system check crash with an empty FileField.upload_to.Lex Berezhny
2016-11-29Fixed #27358 -- Added a system check to prevent FileField's upload_to from st...Henry Dang