From 6ab440d95f3752fdc448280cf073f30120f272f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= Date: Wed, 27 Nov 2019 17:14:08 -0300 Subject: [PATCH] Fix --- sapl/parlamentares/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/parlamentares/forms.py b/sapl/parlamentares/forms.py index e441e6e87..e98531df2 100755 --- a/sapl/parlamentares/forms.py +++ b/sapl/parlamentares/forms.py @@ -715,7 +715,7 @@ class ParlamentarBancadaCreateForm(ModelForm): logger = logging.getLogger(__name__) def __init__(self, *args, **kwargs): - super(ParlamentarBancadaForm, self).__init__(*args, **kwargs) + super(ParlamentarBancadaCreateForm, self).__init__(*args, **kwargs) self.fields['bancada'].widget = forms.HiddenInput() id_parlamentares_titulares_legislatura_partido = [] @@ -746,7 +746,7 @@ class ParlamentarBancadaCreateForm(ModelForm): fields = '__all__' def clean(self): - super(ParlamentarBancadaForm, self).clean() + super(ParlamentarBancadaCreateForm, self).clean() if not self.is_valid(): return self.cleaned_data