Files
web2.0-backend/kaehmy/tables.py
T
2022-08-06 16:54:16 +03:00

20 lines
487 B
Python

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)