mirror of
https://github.com/django/django.git
synced 2025-01-24 17:19:19 +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.