New in Django 1.11: Template-based widget renderingFeb 22, 2017 · by Tim Kamanin
There's a very interesting change coming with Django 1.11 - Template-based widget rendering.
To make customizing widgets easier, form widget rendering is now done using the template system. In older versions, widgets were rendered using Python.
You can get more details about it from the form rendering API docs page: https://docs.djangoproject.com/en/1.11/ref/forms/renderers/.