Changes between Initial Version and Version 1 of Ticket #32718, comment 17
- Timestamp:
- May 6, 2021, 10:01:14 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32718, comment 17
initial v1 22 22 23 23 Sorry, I was mistaken. It wouldn't be possible to even do it manually using `file_field.save(path`, because the check if made inside the `FileField.save` method. But it still kind of makes sense to me for the `FileField.save` method to only take the basename. But I'm not sure everyone would agree, and it would be a backwards incompatible change. 24 25 And even if we allow `FileField.save` to take the full path, shouldn't we still be calling it with just the basename from the `pre_save` method?