From f2ac0cd8cffaff7e5b270281369bc91d70f08edf Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Tue, 2 Jun 2020 09:37:25 +0200 Subject: [PATCH] order table of club for Pollion --- apps/member/tables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/member/tables.py b/apps/member/tables.py index 515d7836..8ac64674 100644 --- a/apps/member/tables.py +++ b/apps/member/tables.py @@ -22,6 +22,7 @@ class ClubTable(tables.Table): attrs = { 'class': 'table table-condensed table-striped table-hover' } + order_by = ('id',) model = Club template_name = 'django_tables2/bootstrap4.html' fields = ('id', 'name', 'email')