diff --git a/comissoes/views.py b/comissoes/views.py index 707cca925..5eefa208f 100644 --- a/comissoes/views.py +++ b/comissoes/views.py @@ -21,7 +21,7 @@ ComissaoCrud = Crud.build(Comissao, 'modulo_comissoes') class CadastrarComissaoView(CreateView): template_name = "comissoes/cadastrar_comissao.html" form_class = CadastrarComissaoForm - success_url = reverse_lazy('comissao') + success_url = reverse_lazy('comissoes:comissao_list') class ComposicaoView(FormView): diff --git a/templates/sistema.html b/templates/sistema.html index 1d8d2e107..0ef599fc6 100644 --- a/templates/sistema.html +++ b/templates/sistema.html @@ -21,15 +21,15 @@