From 8bbe2e2dc5b53aa628b2cf311f464993931a77f0 Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Tue, 9 Aug 2016 19:00:53 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20POST=20request=20in=20diagn=C3=B3stico=20?= =?UTF-8?q?view?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luciano Almeida --- sigi/apps/diagnosticos/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/diagnosticos/views.py b/sigi/apps/diagnosticos/views.py index 5435bba..946300d 100644 --- a/sigi/apps/diagnosticos/views.py +++ b/sigi/apps/diagnosticos/views.py @@ -272,7 +272,7 @@ def diagnostico_pdf(request, id_diagnostico): def graficos(request): categorias = Categoria.objects.all() - sel_categoria = int(request.GET.get("categoria", "3")) + sel_categoria = int(request.POST.get("categoria", "3")) perguntas = Pergunta.objects.filter(categoria=sel_categoria).all() context = RequestContext(request, {