Ticket #13060: formsets.diff
File formsets.diff, 710 bytes (added by , 15 years ago) |
---|
-
formsets.py
54 54 if self.data or self.files: 55 55 form = ManagementForm(self.data, auto_id=self.auto_id, prefix=self.prefix) 56 56 if not form.is_valid(): 57 raise ValidationError('ManagementForm data is missing or has been tampered with ')57 raise ValidationError('ManagementForm data is missing or has been tampered with %s' % self._errors) 58 58 else: 59 59 form = ManagementForm(auto_id=self.auto_id, prefix=self.prefix, initial={ 60 60 TOTAL_FORM_COUNT: self.total_form_count(),