I have a base file in my django template and it has an image in my nav that of the employee:
<img src="{% static 'assets/dist/img/employee/'1.jpg' %}" class="rounded-circle" width="50" height="50" alt="user"></a>
And i need that 1.jpg received {{user.employee.id}} but i can't concat .. i try this but not work:
<img src="{% static 'assets/dist/img/employee/'|add:{{user.employee.id}}|add:'.jpg' %}" class="rounded-circle" width="50"
height="50" alt="user"></a>