I am trying to refer to a static file in an other static file but I can't figure out how to do it.
I have a javascript file that I include into the html page this way: {% static 'myJavascript.js' %}
Then, in myJavascript.js
I need to refer an other static file (a .json
file ) but it wont works when I use {% static 'myJson.json' %}
.
Any one have an idea? Thanks in advance