mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #12878. Formset-wide errors are now rendered properly as html.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -271,7 +271,7 @@ class BaseFormSet(StrAndUnicode):
|
||||
try:
|
||||
self.clean()
|
||||
except ValidationError, e:
|
||||
self._non_form_errors = e.messages
|
||||
self._non_form_errors = self.error_class(e.messages)
|
||||
|
||||
def clean(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user