checkbox form

This commit is contained in:
Niko Abeler 2023-06-13 21:35:21 +02:00
parent 7bee6acbf0
commit 8fd6b78025
1 changed files with 1 additions and 0 deletions

View File

@ -9,4 +9,5 @@ class PlaySessionForm(forms.ModelForm):
# set date wideget to type="date" # set date wideget to type="date"
widgets = { widgets = {
"date": forms.DateInput(attrs={"type": "date"}), "date": forms.DateInput(attrs={"type": "date"}),
"characters": forms.CheckboxSelectMultiple(),
} }