1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Merge branch 'beta-soon' into 'master'

Beta soon

See merge request bde/nk20!85
This commit is contained in:
ynerant
2020-07-21 22:47:50 +02:00
26 changed files with 353 additions and 68 deletions

View File

@ -25,7 +25,8 @@ class ClubTable(tables.Table):
order_by = ('id',)
model = Club
template_name = 'django_tables2/bootstrap4.html'
fields = ('id', 'name', 'email')
fields = ('name', 'email',)
order_by = ('name',)
row_attrs = {
'class': 'table-row',
'id': lambda record: "row-" + str(record.pk),