From 2848a9826cf4a5f59fa5bed72a1b7c0dd1e71792 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Tue, 15 Mar 2016 13:36:26 -0300 Subject: [PATCH] WIP --- parlamentares/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parlamentares/views.py b/parlamentares/views.py index 7ff036d5e..b34c5f507 100644 --- a/parlamentares/views.py +++ b/parlamentares/views.py @@ -139,7 +139,7 @@ class ParlamentaresCadastroView(FormView): {'form': form, 'legislatura_id': pk}) -class ParlamentaresEditarView(UpdateView): +class ParlamentaresEditarView(FormView): template_name = "parlamentares/parlamentares_cadastro.html" form_class = ParlamentaresForm