handleman
4/30/2015 - 10:54 AM

how to get ewry N element from 'for' loop in django template engine html file

how to get ewry N element from 'for' loop in django template engine html file

{% for obj in objectList %}
  ...
  {% if forloop.counter == N %}...{%endif %}
{% endfor %}