New in Django 1.11: Template-based widget rendering

22 Feb · by Tim Kamanin · 1 min read

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/.

Want to get more 🔥 tips like this one?

Subscribe to get notified about new dev tutorials

Comments