Changes between Initial Version and Version 1 of Ticket #32718, comment 17


Ignore:
Timestamp:
05/06/21 15:01:14 (21 months ago)
Author:
Jakub Kleň
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32718, comment 17

    initial v1  
    2222
    2323Sorry, 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
     25And 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?
Back to Top