{% for wrapped in object_list %} {{ page_obj.start_index|add:forloop.counter0 }} {% include 'edc_pharmacy_dashboard/listboard/appointment/columns.html' %} {% endfor %}