We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3Boto3StorageFile close() vs. FileSystemStorage.close() The following code will fail to write a file in the former case but not in the latter:
Setup: 'some/path/to/file.txt' doesn't exist in S3 or on File system in either case
file = default_storage.open('some/path/to/file.txt', 'w') file.close()
One shouldn't have to call file.write() before file.close() in order to create an empty file.
This would make S3Boto3StorageFile consistent with a regular python open() command as well as the FileSystemStorage.open() command.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
S3Boto3StorageFile close() vs. FileSystemStorage.close()
The following code will fail to write a file in the former case but not in the latter:
Setup: 'some/path/to/file.txt' doesn't exist in S3 or on File system in either case
One shouldn't have to call file.write() before file.close() in order to create an empty file.
This would make S3Boto3StorageFile consistent with a regular python open() command as well as the FileSystemStorage.open() command.
The text was updated successfully, but these errors were encountered: