django1/django/db
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
..
backends Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to allows_auto_pk_0. 2014-02-06 05:16:40 -05:00
migrations Fix pep8 violation in migration template. 2014-02-05 14:39:44 +00:00
models Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00
__init__.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
transaction.py Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
utils.py Changed get_migratable_models to use an app config. 2013-12-29 21:25:28 +01:00