diff --git a/pads/views.py b/pads/views.py index 1d3f80c..29db1b3 100644 --- a/pads/views.py +++ b/pads/views.py @@ -35,6 +35,7 @@ class PadUpdate(UpdateView): model = Pad template_name = "pads/update.html" success_url = reverse_lazy(liste_pads) + form_class = PadForm @method_decorator(chef_required) def dispatch(self, *args, **kwargs):