You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neptune/core/views/ui/tables.py

43 lines
1.0 KiB
Python

2 years ago
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"
2 years ago
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE