I have loop in template:
{% for item in items %}
<div class="item">
{{ forloop.counter }}) {{ item.name }}
</div>
{% endfor %}
and I want to display forloop.counter as letters (a,b,c,d,e…) but not using ul->li tags, only forloop.counter. How to do it?
You could make a custom filter:
and then in your template: