#21339: Form error message "required" instead of "invalid"
-------------------------------------+-------------------------------------
Reporter: duduklein | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version:
Component: Forms | 1.6-beta-1
Severity: Release blocker | Resolution:
Keywords: form error_message | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):
* has_patch: 0 => 1
Comment:
Proposal:
{{{
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt
index 651938e..afa44d2 100644
--- a/docs/releases/1.6.txt
+++ b/docs/releases/1.6.txt
@@ -830,6 +830,10 @@ Miscellaneous
changes in 1.6 particularly affect :class:`~django.forms.DecimalField`
and
:class:`~django.forms.ModelMultipleChoiceField`.
+* Several form field's :attr:`~django.forms.Field.error_messages` have
been
+ suppressed because they were duplicates of error messages coming from
the
+ appropriate field validator(s).
+
* There have been changes in the way timeouts are handled in cache
backends.
Explicitly passing in ``timeout=None`` no longer results in using the
default timeout. It will now set a non-expiring timeout. Passing 0 into
the
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21339#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.0eb05f11884a043fe6a5aab43685934d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.