#16617: URLField with min_length or max_length reports wrong length in
validation
messages
------------------------------------+------------------------------
Reporter: frasern | Owner: version2beta
Type: Bug | Status: closed
Milestone: | Component: Forms
Version: SVN | Severity: Normal
Resolution: fixed | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+------------------------------
Changes (by version2beta):
* status: assigned => closed
* has_patch: 0 => 1
* resolution: => fixed
Comment:
Patch attached for django/core/validators.py that allows 'value' to remain
as its original type, rather than being converted to an integer length.
This allows the message to contain the string, or in the case of
MaxLengthValidator, the first limit_value chars of the string.
--
Ticket URL: <https://code.djangoproject.com/ticket/16617#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.