{% load django_tables2 %} {% load i18n %} {% for row in table.paginated_rows %} {% block table.tbody.row %} {% if forloop.last and table.infinite_scroll and table.page.number < table.page.paginator.num_pages %}