mirror of
https://github.com/django/django.git
synced 2025-11-03 13:23:19 +00:00
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 | ||
| test.png | ||
| test2.png | ||
| tests.py | ||