Browse Source
Merge branch '3.1.x' into 2700-resumo-sessao-pdf-duplicado
pull/2704/head
Edward
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
sapl/compilacao/forms.py
|
|
|
@ -220,7 +220,7 @@ class NotaForm(ModelForm): |
|
|
|
|
|
|
|
publicacao = forms.DateField( |
|
|
|
label=Nota._meta.get_field('publicacao').verbose_name, |
|
|
|
input_formats=['%d/%m/%Y'], |
|
|
|
input_formats=['%d/%m/%Y', '%d%m%Y'], |
|
|
|
required=True, |
|
|
|
widget=forms.DateInput( |
|
|
|
format='%d/%m/%Y'), |
|
|
|
@ -228,7 +228,7 @@ class NotaForm(ModelForm): |
|
|
|
) |
|
|
|
efetividade = forms.DateField( |
|
|
|
label=Nota._meta.get_field('efetividade').verbose_name, |
|
|
|
input_formats=['%d/%m/%Y'], |
|
|
|
input_formats=['%d/%m/%Y', '%d%m%Y'], |
|
|
|
required=True, |
|
|
|
widget=forms.DateInput( |
|
|
|
format='%d/%m/%Y'), |
|
|
|
|