django1/django/db/models
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
..
fields Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00
sql Fixed #21748 -- join promotion for negated AND conditions 2014-02-04 18:48:06 +02:00
__init__.py Fixed #16187 -- refactored ORM lookup system 2014-01-18 11:46:19 +02:00
aggregates.py Fixed #16187 -- refactored ORM lookup system 2014-01-18 11:46:19 +02:00
base.py Fixed #16192 -- Made unique error messages in ModelForm customizable. 2014-02-08 04:59:09 -05:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
expressions.py Fixed #17027 -- Added support for the power operator in F expressions. 2013-10-22 10:29:57 -04:00
loading.py Turned django.db.models.app_cache_ready back into a method. 2013-12-31 15:27:25 +01:00
lookups.py Fixed #21883 -- Added six.moves.xrange import 2014-01-28 21:08:37 +02:00
manager.py Fixed #21853 -- Fixed Manager.__module__ to properly return 'django.db.models.manager'. 2014-01-28 08:17:01 -05:00
options.py Fixed #16905 -- Added extensible checks (nee validation) framework 2014-01-20 10:45:21 +08:00
query.py Ensure cursors are closed when no longer needed. 2014-02-02 12:47:21 -05:00
query_utils.py Fixed #21711 -- Enforced unicity of model names. 2014-01-05 20:52:53 +01:00
related.py A large number of stylistic cleanups across django/db/ 2013-07-08 10:39:54 +10:00
signals.py Fixed #21477 -- Renamed db to using in pre/post_migrate signals. 2014-01-12 22:24:33 +01:00