Browse Source
Co-authored-by: eribeiro <edwardr@senado.leg.br>
pull/3358/head
Edward
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
sapl/materia/forms.py
|
@ -1984,6 +1984,10 @@ class ProposicaoForm(FileFieldCheckMixin, forms.ModelForm): |
|
|
|
|
|
|
|
|
cd = self.cleaned_data |
|
|
cd = self.cleaned_data |
|
|
|
|
|
|
|
|
|
|
|
texto_original = cd.get('texto_original', False) |
|
|
|
|
|
if texto_original: |
|
|
|
|
|
validar_arquivo(texto_original, 'Texto Original') |
|
|
|
|
|
|
|
|
tm, am, nm = (cd.get('tipo_materia', ''), |
|
|
tm, am, nm = (cd.get('tipo_materia', ''), |
|
|
cd.get('ano_materia', ''), |
|
|
cd.get('ano_materia', ''), |
|
|
cd.get('numero_materia', '')) |
|
|
cd.get('numero_materia', '')) |
|
|