Browse Source

Fix #3012 (#3013)

pull/3034/head
João Rodrigues 5 years ago
committed by Cesar Carvalho
parent
commit
230b22cd63
  1. 7
      sapl/norma/forms.py

7
sapl/norma/forms.py

@ -283,6 +283,11 @@ class AutoriaNormaForm(ModelForm):
class AnexoNormaJuridicaForm(FileFieldCheckMixin, ModelForm):
logger = logging.getLogger(__name__)
anexo_arquivo = forms.FileField(required=True)
class Meta:
model = AnexoNormaJuridica
fields = ['norma', 'anexo_arquivo', 'assunto_anexo']
@ -290,8 +295,6 @@ class AnexoNormaJuridicaForm(FileFieldCheckMixin, ModelForm):
'norma': forms.HiddenInput(),
}
logger = logging.getLogger(__name__)
def clean(self):
cleaned_data = super(AnexoNormaJuridicaForm, self).clean()

Loading…
Cancel
Save