From 3a256599947ba6ea6099c5e41d0dc63449b35473 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 7 Nov 2019 15:29:29 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20data=20fim=20de=20mandato=20obrigat?= =?UTF-8?q?=C3=B3ria?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/parlamentares/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/parlamentares/forms.py b/sapl/parlamentares/forms.py index 6801a0e8b..576160ff6 100755 --- a/sapl/parlamentares/forms.py +++ b/sapl/parlamentares/forms.py @@ -78,6 +78,8 @@ def validar_datas_legislatura(eleicao, inicio, fim, pk=None): class MandatoForm(ModelForm): logger = logging.getLogger(__name__) + data_fim_mandato = forms.DateField(label=_('Fim do Mandato')) + class Meta: model = Mandato fields = ['legislatura', 'coligacao', 'votos_recebidos',