DjangoDjango

New in Django 1.11: Template-based widget rendering

Feb 22, 2017 · Updated: Nov 10, 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/.

Hey, if you've found this useful, please share the post to help other folks find it:

There's even more:

Subscribe for updates

  • via Twitter: @timonweb
  • old school RSS:
  • or evergreen email ↓ ↓ ↓