From: Guillaume Pellerin Date: Wed, 29 Jun 2022 22:06:45 +0000 (+0200) Subject: conference form: streaming false by default X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=36fefab3c9111b50edbb9dc2f205066f9b7363e3;p=teleforma.git conference form: streaming false by default --- diff --git a/teleforma/forms.py b/teleforma/forms.py index 89ec4910..392a7464 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -8,6 +8,10 @@ class ConferenceForm(ModelForm): class Meta: model = Conference + def __init__(self, *args, **kwargs): + super(ConferenceForm, self).__init__(*args, **kwargs) + self.fields['streaming'].widget.attrs['checked'] = False +