#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:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by aaugustin):

 I don't think we've documented the field error messages and guarantee
 backwards compatibility for them.

 Of course more documentation is generally better, we can add this to the
 release notes.

 Claude, I suggest listing all fields, to make the message as useful as
 possible. Proposal:

 {{{
 * Some :attr:`~django.forms.Field.error_messages` for
 :class:`~django.forms.fields.IntegerField`,
 :class:`~django.forms.fields.EmailField`,
 :class:`~django.forms.fields.IPAddressField`,
 :class:`~django.forms.fields.GenericIPAddressField`, and
 :class:`~django.forms.fields.SlugField` have been suppressed because they
 duplicated error messages already provided by validators tied to the
 fields.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21339#comment:4>
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.43750a4c52a531420133284117d848d4%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to