diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:56:52 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:56:52 +0000 |
| commit | 7c0326bcca1d08c048db86540f9de78cbc592471 (patch) | |
| tree | 6e3fd09b03d548d0a6463aaeaf25558005ceee73 | |
| parent | 985dcdb4b228fe4e5a535ca0ae7bb07e18c637b1 (diff) | |
Fixed #12537 -- Fixed error in Model.full_validate(). Thanks, gauss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/db/models/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/base.py b/django/db/models/base.py index 06db7cc4e6..7fd0537214 100644 --- a/django/db/models/base.py +++ b/django/db/models/base.py @@ -803,7 +803,7 @@ class Model(object): if hasattr(e, 'message_dict'): if errors: for k, v in e.message_dict.items(): - errors.set_default(k, []).extend(v) + errors.setdefault(k, []).extend(v) else: errors = e.message_dict else: |
