From 4294c9fc0778d908f6ec17dfa4b5b5157ec10b14 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 27 Nov 2017 19:04:40 -0200 Subject: [PATCH] HOT-FIX: substituir 0 e 1 por False e True --- sapl/materia/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/materia/forms.py b/sapl/materia/forms.py index 2e79a4348..a9f081855 100644 --- a/sapl/materia/forms.py +++ b/sapl/materia/forms.py @@ -54,8 +54,8 @@ def ANO_CHOICES(): def em_tramitacao(): return [('', 'Tanto Faz'), - (1, 'Sim'), - (0, 'Não')] + (True, 'Sim'), + (False, 'Não')] class AdicionarVariasAutoriasFilterSet(django_filters.FilterSet):