From 56fc0b4db640e051111ba7db68ce832b5a644ce7 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Wed, 19 Jul 2017 15:18:45 +0200 Subject: [PATCH] allow users to change the state of allow_video_recording when updating --- src/program/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/views.py b/src/program/views.py index 084607d0..5408842b 100644 --- a/src/program/views.py +++ b/src/program/views.py @@ -173,7 +173,7 @@ class EventProposalCreateView(LoginRequiredMixin, CampViewMixin, CreateProposalM class EventProposalUpdateView(LoginRequiredMixin, CampViewMixin, EnsureUserOwnsProposalMixin, EnsureWritableCampMixin, EnsureCFSOpenMixin, UpdateView): model = models.EventProposal - fields = ['title', 'abstract', 'event_type', 'speakers', 'submission_notes'] + fields = ['title', 'abstract', 'event_type', 'speakers', 'allow_video_recording', 'submission_notes'] template_name = 'eventproposal_form.html' def get_success_url(self):