Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 7c0326bcca1d08c048db86540f9de78cbc592471 1 parent 985dcdb
Adrian Holovaty authored January 10, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/base.py
2  django/db/models/base.py
@@ -803,7 +803,7 @@ def full_validate(self, exclude=[]):
803 803
             if hasattr(e, 'message_dict'):
804 804
                 if errors:
805 805
                     for k, v in e.message_dict.items():
806  
-                        errors.set_default(k, []).extend(v)
  806
+                        errors.setdefault(k, []).extend(v)
807 807
                 else:
808 808
                     errors = e.message_dict
809 809
             else:

0 notes on commit 7c0326b

Please sign in to comment.
Something went wrong with that request. Please try again.