In my django project i have to add a prefix into some path defined with %static like this:
<link rel="stylesheet" href="{% static "css/animate.css" %}">
I have to add the {{ subpath }} value passed from my view, i try this:
<link rel="stylesheet" href="{% static "{{ subpath }}/css/animate.css" %}">
but the variable was implemented like a text, also i tried:
<link rel="stylesheet" href="{% static {{ subpath }}"/css/animate.css" %}">
but an error occurred.
How can i add a variable value into my href correctly?