1 2 3 4 5 6 7
a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c
<ul> {% for category in categories %} {% if not category in exclude %} <li><a href="{% url "product_category" category.id %}">{{ category.name }}</a></li> {% endif %} {% endfor %} </ul>