Ticket #11160: formset_non_form_errors.diff

File formset_non_form_errors.diff, 521 bytes (added by vbmendes, 15 years ago)

First patch

  • django/forms/formsets.py

     
    199199        form -- i.e., from formset.clean(). Returns an empty ErrorList if there
    200200        are none.
    201201        """
     202        if self._non_form_errors is None:
     203            self.full_clean()
    202204        if self._non_form_errors is not None:
    203205            return self._non_form_errors
    204206        return self.error_class()
Back to Top