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

Update Django Tables 2, change accessor from dot to __

This commit is contained in:
Yohann D'ANELLO
2020-09-01 17:58:58 +02:00
parent 819795c1f9
commit 361ea8cad3
6 changed files with 14 additions and 14 deletions

View File

@ -53,7 +53,7 @@ class RightsTable(tables.Table):
'style': 'table-layout: fixed;'
}
template_name = 'django_tables2/bootstrap4.html'
fields = ('user.last_name', 'user.first_name', 'user', 'club', 'roles', )
fields = ('user__last_name', 'user.first_name', 'user', 'club', 'roles', )
model = Membership