{% load i18n django_tables2 %} {% if table.rows %} {% render_table table %} {% else %}  {% trans 'no results' %} {% endif %}