This would allow to change the appearance of the 'Select file' button for
`ClearableFileInput`, by e.g. wrapping it in a div and adding a span. For
normal `FileInput` that is already possible by overwriting the render
method, however for `ClearableFileInput` this gets comparably ugly.
This would be in line with having the other template strings as class
attributes.
Also I believe it would be good to document the multiple `template_*`
class attributes.
--
Ticket URL: <https://code.djangoproject.com/ticket/27246>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_better_patch: => 0
* owner: nobody => mpauly
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27246#comment:1>
* status: assigned => closed
* resolution: => wontfix
Comment:
We're targeting template-based widget rendering (#15667) for Django 1.11
which I believe obsoletes this. Feel free to take at the latest pull
request there and offer feedback.
--
Ticket URL: <https://code.djangoproject.com/ticket/27246#comment:2>