From 86a4f509f4bfd62f032626db5b2b77b0cf3c8bcf Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Thu, 7 Jan 2016 13:29:46 -0200 Subject: [PATCH] Fix obrigatory fields of SessaoPlenaria from TabelaAuxliar pt 2 --- base/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/views.py b/base/views.py index 5f3750861..bc9b61be3 100644 --- a/base/views.py +++ b/base/views.py @@ -63,7 +63,7 @@ class CasaLegislativaTabelaAuxForm(ModelForm): required=False) telefone = forms.CharField(label='Telefone', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'})) @@ -73,7 +73,7 @@ class CasaLegislativaTabelaAuxForm(ModelForm): attrs={'class': 'cep'})) fax = forms.CharField(label='Fax', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'}))