correction préfixe droit
This commit is contained in:
parent
20213150ae
commit
169526fede
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user