#26528: Fields' validators kwarg must be list.
------------------------------------------------+------------------------
               Reporter:  loic                  |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Uncategorized         |        Version:  1.9
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  1
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 Requiring a `list` is a side effect of concatenating the `validators`
 kwarg with the field's `default_validators` which happens to be a `list`.

 Requiring a specific type of iterables is not very pythonic.

--
Ticket URL: <https://code.djangoproject.com/ticket/26528>
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/047.4899419844bebad74882cb2074f267f6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to