default allow_video_recording to checked

This commit is contained in:
Thomas Steen Rasmussen 2018-05-24 10:23:42 +02:00
parent 3e12c98b95
commit 1f58471927

View file

@ -43,6 +43,9 @@ class BaseEventProposalForm(forms.ModelForm):
# disable the empty_label for the track select box # disable the empty_label for the track select box
self.fields['track'].empty_label = None self.fields['track'].empty_label = None
# make sure video_recording checkbox defaults to checked
self.fields['allow_video_recording'].initial = True
################################ EventType "Talk" ################################################ ################################ EventType "Talk" ################################################