-
-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
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
Getting "The file could not be found" when using S3ManifestStaticStorage #1440
Comments
I encountered very similar problem in my project ( |
Hello. Problem after the update, because the logic of the self.file_overwrite parameter in the function "exists" has changed django-storages/storages/backends/s3.py Line 582 in 9ea35e1
def exists(self, name): if self.file_overwrite: <!-- add this return False And this function is used in HashedFilesMixin I used file_overwrite for my static files. Perhaps this shouldn't be done? |
I'm closing this issue because this error is caused by #1430. |
Hello guys, I hope someone can help me. I've implemented the default
storages.backends.s3.S3Storage
for uploads and static files, and it went just fine.Now I'm trying to setup static files to use
storages.backends.s3.S3ManifestStaticStorage
and I'm getting an error when running withDEBUG = False
, on production:As you can see, it doesn't seem to be able to find a CSS file from Django admin, but checking my bucket, the file is there:
And my bucket policy, which was working just fine with S3Storage:
I've tried some approaches/tests with no success, maybe it's some race condition?
Thanks!
The text was updated successfully, but these errors were encountered: