#34244: allow overriding error params in BaseValidator
-------------------------------------+-------------------------------------
Reporter: Mateusz | Owner: nobody
Kurowski |
Type: New | Status: new
feature |
Component: Core | Version: dev
(Other) | Keywords:
Severity: Normal |
validators,BaseValidator,params,error,override
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hello. I wonder if that is a valid change i suggest: Right now params are
hardcoded, see:
https://github.com/django/django/blob/8cf3831822b708270f38fabb630bbdfdfbb41be1/django/core/validators.py#L367
It would be nice to call `self.get_error_params` - we could override this
method.
What do you think?
--
Ticket URL: <https://code.djangoproject.com/ticket/34244>
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/0107018582a86928-f022c38f-0958-4874-87f7-fa9c129fab9a-000000%40eu-central-1.amazonses.com.