I am unable to connect my javascript file in with my html page in my django app. I have created a separate folder and placed the script.js. Inside html file;
<html>
<body>
<script src="JS files/script.js"></script>
</body>
</html>
I am unable to connect my javascript file in with my html page in my django app. I have created a separate folder and placed the script.js. Inside html file;
<html>
<body>
<script src="JS files/script.js"></script>
</body>
</html>
put it in a static folder and call it as
{% load static %}
<script src="{% static 'JS files/script.js' %}"></script>
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '<frozen importlib._bootstrap>'