-
Notifications
You must be signed in to change notification settings - Fork 148
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
{% static %} doesn't include hash #43
Comments
It could be that you're missing the EDIT: Sorry that was a typo: this should be |
@RyanBalfanz your comment seems to have disappeared from github, so I'm copying here for reference:
Sorry, that was a typo. It should be It's a confusing feature of Django that the I think the Heroku docs should be amended to mention that you should load the |
Assuming this resolved the issue. |
Can't get the darn thing to work with
STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
But with my own homebrewed combination of django-pipeline and whitenoise:
and then
STATICFILES_STORAGE = 'app.storages.GzipManifestPipelineStorage'
at least the {% compressed_css %} tag of django-pipeline outputs the hash. but {%static%} still doesn't
So tl;dr: Following documentation the {%static%} tag outputs style.css instead of style.hash.css
The text was updated successfully, but these errors were encountered: