Skip to content
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

not working with whitenoise #50

Open
lfrodrigues opened this issue Dec 9, 2014 · 1 comment
Open

not working with whitenoise #50

lfrodrigues opened this issue Dec 9, 2014 · 1 comment

Comments

@lfrodrigues
Copy link

I'm trying to use whitenoise to serve my assets. To make the bundles I have to run

  • collectstatic to collect all
  • assets build
  • and again collectstatic (for whitenoise generate its version of the bundles)

calls to {% static %} work fine and whitesnoise is used but for the {% assets %} call (DEBUG_ASSETS=False) the file is the wrong one.

Example code from my webpages:

<script type="text/javascript" src="/static/gen/packed.js?5df0a1aa"></script> <!-- generated using django-assets template tag -->
<script type='text/javascript' src='/static/js/contact_me.95b1c452b73b.js'></script> <!-- normal static call -->

Any insights?

@fuzzy76
Copy link

fuzzy76 commented Nov 17, 2016

Isn't this fixed in #56 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants