To concatenate strings in Python Django templates, we can use the | operator.
For instance, we write
{% with "shop/"|add:shop_name|add:"/base.html" as template %}
{% include template %}
{% endwith %}
to use | and add to concatenate the shop_name variable between 'sho/' and '/base.html' in our template.