mirror of
https://github.com/django/django.git
synced 2024-12-29 12:36:08 +00:00
8847a0c601
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. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
test2.png | ||
test.png | ||
tests.py |