From 9fbc479eb8ddbf0b43c6500a389cd9688926a680 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 11 Jan 2016 16:02:18 -0200 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20#107=20(telefone=20e=20fax=20obriga?= =?UTF-8?q?t=C3=B3rio)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parlamentares/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parlamentares/views.py b/parlamentares/views.py index bbc39c727..2df996fe8 100644 --- a/parlamentares/views.py +++ b/parlamentares/views.py @@ -248,12 +248,12 @@ class ParlamentaresForm (ModelForm): attrs={'class': 'titulo_eleitor'})) telefone = forms.CharField(label='Telefone', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'})) fax = forms.CharField(label='Fax', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'})) @@ -263,12 +263,12 @@ class ParlamentaresForm (ModelForm): attrs={'class': 'cep'})) telefone_residencia = forms.CharField(label='Telefone', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'})) fax_residencia = forms.CharField(label='Fax', - required=True, + required=False, widget=forms.TextInput( attrs={'class': 'telefone'}))