1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-06 06:43:59 +02:00

Use a checkbox widget to select tournament organizers

This commit is contained in:
Yohann D'ANELLO
2021-01-19 01:19:18 +01:00
parent 4821b090ae
commit e4fa6c0321
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ class TournamentForm(forms.ModelForm):
format=formats.get_format_lazy(format_type="DATETIME_INPUT_FORMATS", use_l10n=True)[0])
self.fields["syntheses_second_phase_limit"].widget = DateTimePickerInput(
format=formats.get_format_lazy(format_type="DATETIME_INPUT_FORMATS", use_l10n=True)[0])
self.fields["organizers"].widget = forms.CheckboxSelectMultiple()
class Meta:
model = Tournament