Skip to content

[BUG] Missing javascript files error with WhiteNoise #23

@KhadijaMahanga

Description

@KhadijaMahanga

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 %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions