Prior to Django 1.11, all form rendering was handled exclusively in Python code, but in that version template-based form widget rendering was introduced. In this recipe, we will examine how to use custom templates for form widgets, implement custom renderer classes for both forms and widgets, and override a widget template at the project level.