<script src="{{ STATIC_URL }}sample_js_not_existing.js"></script>

<img src="{{ MEDIA_URL }}sample_image_not_existing.png" />

{% load static %}
<script src="{% static 'sample_js_not_existing.js' %}"></script>

<img src="{% get_media_prefix %}sample_image_not_existing.png" />

Use the built-in Django tags for getting static and other media.
Use the built-in Django tags for getting static and other media.
