django1/tests/model_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
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py PEP8 cleanup 2013-11-02 23:50:49 -05:00
test.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
test2.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
tests.py Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00