{% load django_tables2 %} {% if not table.infinite_scroll and not table.infinite_load %} {% if table.page and table.paginator.num_pages > 1 %} {% endif %} {% endif %}