From d561025fc793843784188f291a9dbc78d23e55a4 Mon Sep 17 00:00:00 2001 From: Talitha Pumar Date: Mon, 18 Jun 2018 12:10:39 -0300 Subject: [PATCH] Fix #2022 (#2023) --- sapl/sessao/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 8b695f10d..a0c727ec1 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -2824,7 +2824,8 @@ class AdicionarVariasMateriasOrdemDia(AdicionarVariasMateriasExpediente): ordem_dia.tipo_votacao = tipo_votacao ordem_dia.save() - return self.get(request, self.kwargs) + return HttpResponseRedirect( + reverse('sapl.sessao:ordemdia_list', kwargs=self.kwargs)) @csrf_exempt