Ticket #11160: formset_non_form_errors.diff
File formset_non_form_errors.diff, 521 bytes (added by , 15 years ago) |
---|
-
django/forms/formsets.py
199 199 form -- i.e., from formset.clean(). Returns an empty ErrorList if there 200 200 are none. 201 201 """ 202 if self._non_form_errors is None: 203 self.full_clean() 202 204 if self._non_form_errors is not None: 203 205 return self._non_form_errors 204 206 return self.error_class()