for in catalogs li href get_absolute_url catalog_name li endfor ul end

1
2
3
4
5
{% for i in catalogs %}
<li><a href="{{ i.get_absolute_url }}">{{i.catalog_name}}</a></li>
{%endfor%}
</ul>
{% endblock %}