mirror of https://gitlab.crans.org/bde/nk20
Some table accessors weren't updated
This commit is contained in:
parent
05164636a1
commit
d76aa3fec9
|
@ -1,3 +1,5 @@
|
|||
__pycache__
|
||||
media
|
||||
db.sqlite3
|
||||
.tox
|
||||
.coverage
|
|
@ -165,5 +165,5 @@ class ClubManagerTable(tables.Table):
|
|||
'style': 'table-layout: fixed;'
|
||||
}
|
||||
template_name = 'django_tables2/bootstrap4.html'
|
||||
fields = ('user', 'user.first_name', 'user.last_name', 'roles', )
|
||||
fields = ('user', 'user__first_name', 'user__last_name', 'roles', )
|
||||
model = Membership
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue