import django_tables2 as tables from django.db.models import Count, Q from django.utils.translation import gettext as _ from kaehmy.models import Application class ExportTable(tables.Table): class Meta: model = Application exclude = [ "text", "messageparent_ptr", "custom_role_name", "custom_role_is_board", "timestamp", ] all_roles = tables.Column(verbose_name=_("Roles"), orderable=False)