CodeForAfrica / HURUmap

HURUmap is an interactive web platform that allows citizens and journalists to explore, visualise, and download census data. This gives them the power to give context to stories that was otherwise hard to spot. Accessible at https://hurumap.org
https://hurumap.org
GNU General Public License v3.0
8 stars 7 forks source link

[BUG] Missing javascript files error with WhiteNoise #23

Open KhadijaMahanga opened 6 years ago

KhadijaMahanga commented 6 years ago

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 %}
kilemensi commented 5 years ago

@KhadijaMahanga is this still an issue?