#16617: URLField with min_length or max_length reports wrong length in
validation
messages
-------------------------+----------------------------------------
Reporter: frasern | Owner: version2beta
Type: Bug | Status: new
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------+----------------------------------------
Comment (by timo):
Including `value` in the `params` dict looks good, but I wonder if it
might be better to leave the default error messages as is and either offer
an option to easily switch the default error message to include the value
or just let people override the message as they see fit. In the case of
really long values, it could be undesirable to have the value repeated in
the error message. Any thoughts?
--
Ticket URL: <https://code.djangoproject.com/ticket/16617#comment:7>
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/065.3be098fb49b668fdf290608d3c971295%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.