<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/models/fields/files.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-04-14T11:32:08Z</updated>
<entry>
<title>Fixed #27150 -- Made base File objects truthy by default.</title>
<updated>2026-04-14T11:32:08Z</updated>
<author>
<name>VIZZARD-X</name>
<email>vigneshanandmay13@gmail.com</email>
</author>
<published>2025-11-26T08:36:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=3157285e27a426530ef571855e0e29c317e210df'/>
<id>urn:sha1:3157285e27a426530ef571855e0e29c317e210df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed 36622 -- Prevented LazyObject FileField storages from evaluating at boot time.</title>
<updated>2025-10-15T21:25:08Z</updated>
<author>
<name>Clifford Gama</name>
<email>cliffygamy@gmail.com</email>
</author>
<published>2025-10-09T19:24:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6862d46dd96d71d80d6d2fa9873a93d811b39562'/>
<id>urn:sha1:6862d46dd96d71d80d6d2fa9873a93d811b39562</id>
<content type='text'>
Co-authored-by: Fabien MICHEL &lt;fmichel@adista.fr&gt;
</content>
</entry>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Removed double spaces after periods and within phrases.</title>
<updated>2025-07-23T13:09:43Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-07-18T13:37:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e'/>
<id>urn:sha1:1ecf6889cabc9f3f60d3fdd651468cddd8f4da6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36005 -- Dropped support for Python 3.10 and 3.11.</title>
<updated>2025-01-20T13:07:28Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-01-17T21:09:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f5772de69679efb54129ac1cbca3579b512778af'/>
<id>urn:sha1:f5772de69679efb54129ac1cbca3579b512778af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35657 -- Made FileField handle db_default values.</title>
<updated>2024-08-05T19:36:49Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-08-05T19:36:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8deb6bb1fc427762d56646bf7306cbd11fb5bb68'/>
<id>urn:sha1:8deb6bb1fc427762d56646bf7306cbd11fb5bb68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35139 -- Prevented file read after ImageField is saved to storage.</title>
<updated>2024-05-21T22:25:56Z</updated>
<author>
<name>John Parton</name>
<email>john.parton.iv@gmail.com</email>
</author>
<published>2024-01-24T22:22:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c5fe93349bd4339c41d057b87046e5d28be6f77'/>
<id>urn:sha1:9c5fe93349bd4339c41d057b87046e5d28be6f77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35384 -- Raised FieldError when saving a file without a name to FileField.</title>
<updated>2024-05-15T10:02:45Z</updated>
<author>
<name>Jonny Park</name>
<email>jonnythebard9@gmail.com</email>
</author>
<published>2024-04-28T02:54:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c0b0ce85ede1f1baf8826fb6c10c23f9adcbcca3'/>
<id>urn:sha1:c0b0ce85ede1f1baf8826fb6c10c23f9adcbcca3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #34517 -- Restored skipping ImageFileField.update_dimension_fields without width/height fields.</title>
<updated>2023-06-19T03:24:42Z</updated>
<author>
<name>François Freitag</name>
<email>mail@franek.fr</email>
</author>
<published>2023-06-17T16:00:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bcacc6321ae819965f478bfee2072a796801f298'/>
<id>urn:sha1:bcacc6321ae819965f478bfee2072a796801f298</id>
<content type='text'>
This avoids reading the image size when the dimensions fields
(image_width, image_height) do not exist, as that operation may be
expensive.

Partially reverts ea53e7c09f1b8864c20c65976bbeaeab77abdaec, that dropped
the check for the dimension fields in update_dimension_fields(), because
the post_init signal was no longer registered without dimension fields.

However, another code path to that function exists: when the
ImageFileField is save()d, the name from the storage is setattr()ed on
the field, and ImageFileDescriptor calls update_dimension_fields()
because the image size might have changed. Keep bailing out early when
dimensions are unused.

Besides, computing the image dimensions causes to close() the file,
resulting in a backward-incompatible change. The test protects against
that change.
</content>
</entry>
<entry>
<title>Fixed #34517 -- Avoided connection post_init signal to ImageField without width/height fields.</title>
<updated>2023-05-03T04:35:19Z</updated>
<author>
<name>Orhan Hirsch</name>
<email>orhanhenrik@gmail.com</email>
</author>
<published>2023-04-26T07:22:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ea53e7c09f1b8864c20c65976bbeaeab77abdaec'/>
<id>urn:sha1:ea53e7c09f1b8864c20c65976bbeaeab77abdaec</id>
<content type='text'>
</content>
</entry>
</feed>
