allow users to change the state of allow_video_recording when updating

This commit is contained in:
Stephan Telling 2017-07-19 15:18:45 +02:00
parent 87da054985
commit 56fc0b4db6
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B

View file

@ -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):