From 1f584719276617213eb1fef0a68f8c3ed333bf44 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Thu, 24 May 2018 10:23:42 +0200 Subject: [PATCH] default allow_video_recording to checked --- src/program/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/program/forms.py b/src/program/forms.py index 8c74b883..e13d28be 100644 --- a/src/program/forms.py +++ b/src/program/forms.py @@ -43,6 +43,9 @@ class BaseEventProposalForm(forms.ModelForm): # disable the empty_label for the track select box self.fields['track'].empty_label = None + # make sure video_recording checkbox defaults to checked + self.fields['allow_video_recording'].initial = True + ################################ EventType "Talk" ################################################