django1/django/forms
Loic Bistuer 8847a0c601 Fixed #16192 -- Made unique error messages in ModelForm customizable.
Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.

This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.

Refs #20199.

Thanks leahculver for the suggestion.
2014-02-08 04:59:09 -05:00
..
extras Fixed #13970 -- Made SelectDateWidget use the standard widget is_required attribute 2013-11-08 16:58:17 +01:00
__init__.py Fixed #21489 -- Make formsets directly importable from django.forms. 2013-11-25 19:16:19 -05:00
fields.py Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with DateTimeField 2014-01-11 15:50:34 +01:00
forms.py Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00
formsets.py Fixed #17413 -- Serialization of form errors along with all metadata. 2013-12-16 16:33:28 -05:00
models.py Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00
util.py Removed import * in tests. 2013-10-22 08:32:01 -04:00
utils.py Refs #17413 -- Added isinstance backward compatibility on ErrorList. 2013-12-18 08:59:53 -05:00
widgets.py Fixed E124 pep8 warnings. 2013-12-10 15:12:48 -05:00