allow users to change the state of allow_video_recording when updating
This commit is contained in:
parent
87da054985
commit
56fc0b4db6
|
@ -173,7 +173,7 @@ class EventProposalCreateView(LoginRequiredMixin, CampViewMixin, CreateProposalM
|
||||||
|
|
||||||
class EventProposalUpdateView(LoginRequiredMixin, CampViewMixin, EnsureUserOwnsProposalMixin, EnsureWritableCampMixin, EnsureCFSOpenMixin, UpdateView):
|
class EventProposalUpdateView(LoginRequiredMixin, CampViewMixin, EnsureUserOwnsProposalMixin, EnsureWritableCampMixin, EnsureCFSOpenMixin, UpdateView):
|
||||||
model = models.EventProposal
|
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'
|
template_name = 'eventproposal_form.html'
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
|
|
Loading…
Reference in a new issue