Fix pad edition

This commit is contained in:
Evarin 2018-06-25 20:37:19 +02:00
parent e5a35251cd
commit 83dd7af9ca

View file

@ -35,6 +35,7 @@ class PadUpdate(UpdateView):
model = Pad model = Pad
template_name = "pads/update.html" template_name = "pads/update.html"
success_url = reverse_lazy(liste_pads) success_url = reverse_lazy(liste_pads)
form_class = PadForm
@method_decorator(chef_required) @method_decorator(chef_required)
def dispatch(self, *args, **kwargs): def dispatch(self, *args, **kwargs):