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

add school field to guest

This commit is contained in:
quark
2025-03-25 17:39:31 +01:00
parent 60355196ce
commit 702ddb5679
10 changed files with 57 additions and 28 deletions

View File

@ -51,7 +51,7 @@ class GuestTable(tables.Table):
}
model = Guest
template_name = 'django_tables2/bootstrap4.html'
fields = ("last_name", "first_name", "inviter", )
fields = ("last_name", "first_name", "inviter", "school")
def render_entry(self, record):
if record.has_entry: