1👍
✅
Create static folder in your root directory add this line to settings.py
STATIC_URL = '/static/'
And load STATIC in your html file and use static to load the javascript files.
{% load static %}
{% static 'js/doggies.js' %}
Source:stackexchange.com