from django.conf import settings from django_tables2 import Column, Table class DrilldownTable(Table): id = Column() host = Column() ident = Column() nick = Column() nick_id = Column() user_id = Column() msg = Column() msg_id = Column() net = Column() net_id = Column() num = Column() src = Column() ts = Column() # date = Column() # time = Column() type = Column() bot = Column() channel = Column() channel_category = Column() channel_category_id = Column() channel_category_nsfw = Column() channel_id = Column() channel_nsfw = Column() guild_member_count = Column() guild = Column() guild_id = Column() mode = Column() modearg = Column() sentiment = Column() status = Column() user = Column() version_sentiment = Column() exemption = Column() num_chans = Column() num_users = Column() template_name = "ui/drilldown/table_results.html" paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE