Browse files

[soc2009/model-validation] Fixed #12078 ValidationError(s) from speci…

…fic fields not rendered on admin add/change form.

Thanks to Killarny for detailed report

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f911df1 commit 5559eb56febc5075a13beaea300e4ba803604ff2 @HonzaKral HonzaKral committed Dec 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/forms/
@@ -248,7 +248,7 @@ def clean(self):
except ValidationError, e:
for k, v in e.message_dict.items():
- self._errors.setdefault(k, []).extend(v)
+ self._errors.setdefault(k, ErrorList()).extend(v)
# Remove the data from the cleaned_data dict since it was invalid
if k in self.cleaned_data:

0 comments on commit 5559eb5

Please sign in to comment.