Browse Source

HOT-FIX: valida campos obrigatórios de SessaoPlenariaForm

pull/1427/head
Edward Ribeiro 7 years ago
parent
commit
5bb3bb2990
  1. 3
      sapl/sessao/forms.py

3
sapl/sessao/forms.py

@ -62,6 +62,9 @@ class SessaoPlenariaForm(ModelForm):
def clean(self):
super(SessaoPlenariaForm, self).clean()
if not self.is_valid():
return self.cleaned_data
instance = self.instance
num = self.cleaned_data['numero']

Loading…
Cancel
Save