Browse Source

Fix #1215

pull/1226/head
Edward Ribeiro 8 years ago
parent
commit
62f5ac5803
  1. 1
      sapl/materia/forms.py

1
sapl/materia/forms.py

@ -213,6 +213,7 @@ class TramitacaoForm(ModelForm):
def __init__(self, *args, **kwargs):
super(TramitacaoForm, self).__init__(*args, **kwargs)
self.fields['data_tramitacao'].initial = datetime.now()
self.fields['unidade_tramitacao_local'].widget.attrs['disabled'] = True
def clean(self):
super(TramitacaoForm, self).clean()

Loading…
Cancel
Save