#34503: Missleading message in MinValueValidator and MaxValueValidator
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
bartektrybala |
Type: Bug | Status: new
Component: Core | Version: 4.2
(Serialization) | Keywords: MaxValueValidator,
Severity: Normal | MinValueValidator, message, less or
Triage Stage: | equal
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Here is a message error for MaxValueValidator:
message = _("Ensure this value is less than or equal to %(limit_value)s.")
but compare method checks if a < b. So it's not accurate comparision or
message, It should checks a <= b, isn't it?
The same for MinValueValidator
--
Ticket URL: <https://code.djangoproject.com/ticket/34503>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018798babaa3-d5bdbf37-dde8-4d23-9655-0a5a5e819255-000000%40eu-central-1.amazonses.com.