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

[BUG] Missing javascript files error with WhiteNoise #23

Open
KhadijaMahanga opened this issue Aug 28, 2018 · 1 comment
Open

[BUG] Missing javascript files error with WhiteNoise #23

KhadijaMahanga opened this issue Aug 28, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@KhadijaMahanga
Copy link
Contributor

KhadijaMahanga commented Aug 28, 2018

Describe the bug

While using WhiteNoise in a django app, I get a value error on profile page that breaks my site.

ValueError: The file 'js/affix.js' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0x7f37a7c4e1d0>.

profile_detail.html has scripts that source from missing java-script files

 {% block profile_javascript_libs %}
    {{ block.super }}
    <script src="{% static 'js/affix.js' %}"></script>
    <script src="{% static 'js/profiles.js' %}"></script>
  {% endblock %}
@KhadijaMahanga KhadijaMahanga added the bug Something isn't working label Aug 28, 2018
@kilemensi
Copy link
Member

@KhadijaMahanga is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants