Fix pad edition
This commit is contained in:
parent
e5a35251cd
commit
83dd7af9ca
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue