django/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
models.py PEP8 cleanup 2013-11-02 23:50:49 -05:00
test.png
test2.png
tests.py Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00