1
0
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:
Joseph Kocherhans
2010-02-23 20:55:42 +00:00
parent c8fa110093
commit ea3853e8d2
3 changed files with 34 additions and 1 deletions

View File

@@ -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):
"""