1
You need to go through the tutorial of using static files.
In short you need to use src="{% static url '(path)/(name).(format)" %}"
At the top of your template you’ll also need {% load staticfiles %}
and to have your static paths set properly of course + url configuration.
Source:stackexchange.com