<script type="text/javascript" src="{% static 'js/cart.js' %}"></script>
I try to implement JavaScript on my Django project, but it's not working at all. In Mozilla Firefox it keep saying, File failed to load with <script type="text/javascript" src="{% static 'js/cart.js' %}"></script> It's not a valid mime type... Please help me out... Or is there any way I can use Django to make add to cart functionality????. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALWCJq15oPD%3D9ib-sVoA3jSM9-XoHxL4O_Q11YtubECUkG7s3A%40mail.gmail.com.