You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
I'm trying to gauge your opinion on this. The FileSystemStorage class from Django explicitly says that it will not raise an exception if the given file does not exist. Now, there could be some reason for raising exceptions in special filesystems, but the Django guys do have a point in being silent when deleting files. If you want it deleted and you already have, then I don't see why it should complain.
If you still think it would be useful to let the exception pass through, It would be awesome to document this behavior in the README.
I'm trying to gauge your opinion on this. The
FileSystemStorage
class from Django explicitly says that it will not raise an exception if the given file does not exist. Now, there could be some reason for raising exceptions in special filesystems, but the Django guys do have a point in being silent when deleting files. If you want it deleted and you already have, then I don't see why it should complain.If you still think it would be useful to let the exception pass through, It would be awesome to document this behavior in the README.
https://docs.djangoproject.com/en/dev/ref/files/storage/
The text was updated successfully, but these errors were encountered: