Ticket #12537: setdefault_patch.diff
File setdefault_patch.diff, 547 bytes (added by , 15 years ago) |
---|
-
django/db/models/base.py
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: