correction préfixe droit

This commit is contained in:
Jean-Marie Favreau 2024-04-16 12:20:38 +02:00
parent 20213150ae
commit 169526fede

View File

@ -267,7 +267,7 @@ class EventDetailView(UserPassesTestMixin, DetailView):
class EventModerateView(SuccessMessageMixin, PermissionRequiredMixin, LoginRequiredMixin, UpdateView):
model = Event
permission_required = ["agenda_culturel.change_event", "use_moderation_question"]
permission_required = ("agenda_culturel.change_event", "agenda_culturel.use_moderation_question")
success_message = _('The event has been successfully modified.')
form_class = ModerateForm
template_name = 'agenda_culturel/event_moderation_form.html'