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
|
||||
|
|
|
@ -5,7 +5,7 @@ from datetime import datetime
|
|||
from django import forms
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.forms import CheckboxSelectMultiple
|
||||
from django.utils.timezone import make_aware
|
||||
from django.utils.timezone import make_aware
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from note_kfet.inputs import Autocomplete, AmountInput, DateTimePickerInput
|
||||
|
||||
|
|
|
@ -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