Problem when using static file management with django + s3
See original GitHub issuehello.
When doing staticfile management with django + s3
Django_summernote/templates/django_summernote/widget_iframe_editor.html
: Problem with static tag in line 27.
27 $.getScript('{% static "django_summernote/lang/summernote-" %}' + settings.lang + '.min.js');
{% static “django_summernote/lang/summernote-” %} rendering => “https://{{s3-url}}/static/django_summernote/lang/summernote-” is not found error.
The file 'django_summernote/lang/summernote-' could not be found with <xx.s3ext.StaticS3BotoStorage object at xxxx>.
Due to this issue, we have temporarily created a “summernote-” file on s3.
any ideas? help me.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Django unable to serve static files from s3 bucket
when I run manage.py collectstatic the static files are pushed to the bucket successfully, but when I access the Django admin the CSS...
Read more >Using Amazon S3 to Store your Django Site's Static and ...
Storing your Django site's static and media files on Amazon S3, instead of serving them yourself, can make your site perform better.
Read more >Serving Static Files in Python With Django, AWS S3 and ...
In this article, we take a look at how to serve static files using Django, including ing examples of serving static files locally...
Read more >django and aws s3 (static files and media)
Hi, I have configured AWS S3 to store the static and media files but for some reason it is not working. when i...
Read more >Storing Django Static and Media Files on Amazon S3
The STATICFILES_STORAGE setting configures Django to automatically add static files to the S3 bucket when the collectstatic command is run.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a similar problem just with
django.contrib.staticfiles.storage.CachedStaticFilesStorage
. Manually adding a ‘django_summernote/lang/summernote-’ file to the collected static files solves the problem. Guess that thestatic
template tag is supposed to check for the existence of the file?I’m running Django 1.10.4 with the settings: ` settings.DEBUG = False
…
STATIC_URL = ‘/static/’
STATIC_ROOT = os.path.join(BASE_DIR, “static”)
STATICFILES_STORAGE = ‘django.contrib.staticfiles.storage.CachedStaticFilesStorage’ … `
Is this really fixed? I can’t deploy my app because of this problem (heroku) with latest pip