Skip to content
Commit 8f4540b2 authored by Joseph Kocherhans's avatar Joseph Kocherhans
Browse files

Fixed #12698. Model.clean() used with a ModelForm no longer causes a KeyError...

Fixed #12698. Model.clean() used with a ModelForm no longer causes a KeyError when raising a ValidationError.
Note that previously it was possible to raise a ValidationError in the same place with a message_dict attribute. That behavior was a bug and will no longer have the same behavior.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 4682d693
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment