Update config

This commit is contained in:
2022-08-10 20:40:58 +01:00
parent aaca3a8469
commit 8a165fd44d
2 changed files with 22 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
from django_tables2 import Column, Table
from django.conf import settings
class DrilldownTable(Table):
id = Column()
@@ -38,5 +38,5 @@ class DrilldownTable(Table):
num_chans = Column()
num_users = Column()
template_name = "ui/drilldown/table_results.html"
paginate_by = 5
paginate_by = settings.DRILLDOWN_RESULTS_PER_PAGE
row_attrs = "is-primary"