Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 8847a0c601e4261823b1726b2db73eec2ac17940
      
https://github.com/django/django/commit/8847a0c601e4261823b1726b2db73eec2ac17940
  Author: Loic Bistuer <loic.bist...@sixmedia.com>
  Date:   2014-02-08 (Sat, 08 Feb 2014)

  Changed paths:
    M django/db/models/base.py
    M django/db/models/fields/__init__.py
    M django/forms/forms.py
    M django/forms/models.py
    M docs/ref/exceptions.txt
    M docs/ref/models/fields.txt
    M docs/ref/models/instances.txt
    M docs/ref/models/options.txt
    M docs/releases/1.7.txt
    M docs/topics/forms/modelforms.txt
    M tests/model_forms/tests.py

  Log Message:
  -----------
  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.


-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/52f60035b23ac_67158efd3c10049%40hookshot-fe10-pe1-prd.aws.github.net.mail.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to