django1/django/forms
Joseph Kocherhans 8f4540b2e6 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
2010-02-10 00:34:45 +00:00
..
extras Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing. 2009-12-22 17:58:49 +00:00
__init__.py Merged soc2009/model-validation to trunk. Thanks, Honza! 2010-01-05 03:56:19 +00:00
fields.py Merged soc2009/model-validation to trunk. Thanks, Honza! 2010-01-05 03:56:19 +00:00
forms.py Fixed #12596. Calling super from a ModelForm's clean method is once again optional. Failing to call super only skips unique validation as documented. Thanks for the initial patch and tests, carljm. 2010-01-21 02:28:03 +00:00
formsets.py Fixed #12692 - Properly handle the extra clause of admin inline formsets. Also fixes #12703, second error. 2010-02-01 14:14:56 +00:00
models.py Fixed #12698. Model.clean() used with a ModelForm no longer causes a KeyError when raising a ValidationError. 2010-02-10 00:34:45 +00:00
util.py Merged soc2009/model-validation to trunk. Thanks, Honza! 2010-01-05 03:56:19 +00:00
widgets.py Changed a whole bunch of places to raise exception instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion 2010-01-10 18:36:20 +00:00