Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

GSResponseError when trying to delete a non-existent file #7

Open
federicobond opened this issue Jan 13, 2013 · 0 comments
Open

GSResponseError when trying to delete a non-existent file #7

federicobond opened this issue Jan 13, 2013 · 0 comments
Assignees

Comments

@federicobond
Copy link

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/

@ghost ghost assigned smirnoffmg Jan 13, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants