From fae96b5fca403efda7195ce2b40268c78eeb7c3a Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Thu, 14 Sep 2017 15:08:50 -0300 Subject: [PATCH] Bug Fix --- sapl/sessao/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sapl/sessao/forms.py b/sapl/sessao/forms.py index 9d4a7c0d3..656a0e1cc 100644 --- a/sapl/sessao/forms.py +++ b/sapl/sessao/forms.py @@ -159,6 +159,9 @@ class ExpedienteMateriaForm(ModelForm): def clean(self): super(ExpedienteMateriaForm, self).clean() + if self.errors: + return self.errors + cleaned_data = self.cleaned_data sessao = self.instance.sessao_plenaria