Changes between Initial Version and Version 1 of Ticket #35604
- Timestamp:
- Jul 16, 2024, 1:18:10 AM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35604 – Description
initial v1 1 1 With this ticket I would like to vote against the latest changes to `FileSystemStorage.exists()` with #35326. 2 The very basic file storage operation "exists" now returns `False`, if the option `allow_overwrite` is set to `True` (see [https://github.com/django/django/pull/18020/files#diff-63fca472a0ca8c04505cb4ec9c132663ac71fc964110afc8ae9218416f37821cR196-R202 Github]).2 The very basic file storage operation "exists" now returns `False`, if the option `allow_overwrite` is set to `True`, no matter if the file actually exists or not (see [https://github.com/django/django/pull/18020/files#diff-63fca472a0ca8c04505cb4ec9c132663ac71fc964110afc8ae9218416f37821cR196-R202 Github]). 3 3 I know, the default behavior is unchanged (`allow_overwrite` is False by default), but nevertheless the change seems to me more like the easiest option, but not the cleanest for the API. Until now, the API was very self-explanatory. 4 4